mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
CF/BF - Fix more compiler warnings.
This commit is contained in:
parent
cb34c5b1d7
commit
b4dc3b53f5
2 changed files with 10 additions and 1 deletions
|
@ -91,12 +91,14 @@ void taskBstMasterProcess(timeUs_t currentTimeUs);
|
|||
#define TASK_PERIOD_MS(ms) ((ms) * 1000)
|
||||
#define TASK_PERIOD_US(us) (us)
|
||||
|
||||
#ifdef USE_FC
|
||||
static void taskUpdateAccelerometer(timeUs_t currentTimeUs)
|
||||
{
|
||||
UNUSED(currentTimeUs);
|
||||
|
||||
accUpdate(&accelerometerConfigMutable()->accelerometerTrims);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool taskSerialCheck(timeUs_t currentTimeUs, timeDelta_t currentDeltaTimeUs) {
|
||||
UNUSED(currentTimeUs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue