mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Fix duplicate transponder task enable attempt.
Kept the second one since there is no rush to enable a transponder upon boot.
This commit is contained in:
parent
f4ce78f939
commit
8039a7f42f
1 changed files with 0 additions and 4 deletions
|
@ -238,10 +238,6 @@ void fcTasksInit(void)
|
|||
const bool useBatteryAlerts = batteryConfig()->useVBatAlerts || batteryConfig()->useConsumptionAlerts || featureIsEnabled(FEATURE_OSD);
|
||||
setTaskEnabled(TASK_BATTERY_ALERTS, (useBatteryVoltage || useBatteryCurrent) && useBatteryAlerts);
|
||||
|
||||
#ifdef USE_TRANSPONDER
|
||||
setTaskEnabled(TASK_TRANSPONDER, featureIsEnabled(FEATURE_TRANSPONDER));
|
||||
#endif
|
||||
|
||||
#ifdef STACK_CHECK
|
||||
setTaskEnabled(TASK_STACK_CHECK, true);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue