Skip to content

Commit 30c2807

Browse files
committed
Remove COMPILE_IDLE_TASKS gate
Feature is controlled, and turned off by default, via setting enablePrintIdleTime
1 parent 63da5a4 commit 30c2807

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

Firmware/RTK_Surveyor/Begin.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,6 @@ bool beginExternalTriggers()
705705

706706
void beginIdleTasks()
707707
{
708-
#ifdef COMPILE_IDLE_TASKS
709708
if (settings.enablePrintIdleTime == true)
710709
{
711710
char taskName[32];
@@ -724,7 +723,6 @@ void beginIdleTasks()
724723
index); //Core where task should run, 0=core, 1=Arduino
725724
}
726725
}
727-
#endif //COMPILE_IDLE_TASKS
728726
}
729727

730728
void beginI2C()

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const int FIRMWARE_VERSION_MINOR = 4;
3030
#define COMPILE_ESPNOW //Requires WiFi. Comment out to remove ESP-Now functionality.
3131
#define COMPILE_BT //Comment out to remove Bluetooth functionality
3232
#define COMPILE_L_BAND //Comment out to remove L-Band functionality
33-
#define COMPILE_IDLE_TASKS //Comment out to remove idle tasks
3433
#define ENABLE_DEVELOPER //Uncomment this line to enable special developer modes (don't check power button at startup)
3534

3635
//Define the RTK board identifier:

Firmware/RTK_Surveyor/Tasks.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ void ButtonCheckTask(void *e)
621621
}
622622
}
623623

624-
#ifdef COMPILE_IDLE_TASKS
625624
void idleTask(void *e)
626625
{
627626
int cpu = xPortGetCoreID();
@@ -671,4 +670,3 @@ void idleTask(void *e)
671670
taskYIELD();
672671
}
673672
}
674-
#endif //COMPILE_IDLE_TASKS

0 commit comments

Comments
 (0)