1
0
Fork 0
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:
Hydra 2017-04-09 21:32:30 +01:00 committed by Dominic Clifton
parent cb34c5b1d7
commit b4dc3b53f5
2 changed files with 10 additions and 1 deletions

View file

@ -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);