1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

add guard around taskUpdateBeeper to remove unused error

This commit is contained in:
Steffen Windoffer 2016-10-13 18:09:02 +02:00
parent d0daa186cc
commit f1fb7c4e69

View file

@ -99,10 +99,12 @@ static void taskHandleSerial(uint32_t currentTime)
mspSerialProcess();
}
#ifdef BEEPER
static void taskUpdateBeeper(uint32_t currentTime)
{
beeperUpdate(currentTime); //call periodic beeper handler
}
#endif
static void taskUpdateBattery(uint32_t currentTime)
{
@ -489,5 +491,3 @@ cfTask_t cfTasks[TASK_COUNT] = {
},
#endif
};