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:
parent
d0daa186cc
commit
f1fb7c4e69
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue