diff --git a/src/main/fc/fc_tasks.c b/src/main/fc/fc_tasks.c index 08a559eea8..01d9e9e9b9 100644 --- a/src/main/fc/fc_tasks.c +++ b/src/main/fc/fc_tasks.c @@ -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 }; - -