mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Convert BEEPER to USE_ scheme (#5433)
This commit is contained in:
parent
aa42a69d2f
commit
416495e17a
105 changed files with 219 additions and 132 deletions
|
@ -255,7 +255,7 @@ void fcTasksInit(void)
|
|||
|
||||
setTaskEnabled(TASK_DISPATCH, dispatchIsEnabled());
|
||||
|
||||
#ifdef BEEPER
|
||||
#ifdef USE_BEEPER
|
||||
setTaskEnabled(TASK_BEEPER, true);
|
||||
#endif
|
||||
#ifdef USE_GPS
|
||||
|
@ -437,7 +437,7 @@ cfTask_t cfTasks[TASK_COUNT] = {
|
|||
.staticPriority = TASK_PRIORITY_HIGH,
|
||||
},
|
||||
|
||||
#ifdef BEEPER
|
||||
#ifdef USE_BEEPER
|
||||
[TASK_BEEPER] = {
|
||||
.taskName = "BEEPER",
|
||||
.taskFunc = beeperUpdate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue