From 8039a7f42fe101c614dd0d145efd8ea9cde51e8d Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Tue, 19 Mar 2019 20:36:52 +0100 Subject: [PATCH] Fix duplicate transponder task enable attempt. Kept the second one since there is no rush to enable a transponder upon boot. --- src/main/fc/tasks.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/fc/tasks.c b/src/main/fc/tasks.c index a4eeafbeef..ce19cf2db7 100644 --- a/src/main/fc/tasks.c +++ b/src/main/fc/tasks.c @@ -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