Remove useless DEBUG_TASKS (not supported on FreeRTOS) (#1448)

This commit is contained in:
Raphael Coeffic
2022-01-21 12:59:45 +10:00
committed by GitHub
parent 7da7261e7b
commit 0ee144dd25
4 changed files with 0 additions and 106 deletions
-19
View File
@@ -322,25 +322,6 @@ extern struct InterruptCounters interruptCounters;
#endif //#if defined(DEBUG_INTERRUPTS)
#if defined(DEBUG_TASKS)
#define DEBUG_TASKS_LOG_SIZE 512
// each 32bit is used as:
// top 8 bits: task id
// botom 24 bits: system tick counter
extern uint32_t taskSwitchLog[DEBUG_TASKS_LOG_SIZE];
extern uint16_t taskSwitchLogPos;
#if defined(__cplusplus)
extern "C" {
#endif
extern void CoTaskSwitchHook(uint8_t taskID);
#if defined(__cplusplus)
}
#endif
#endif // #if defined(DEBUG_TASKS)
#if defined(DEBUG_TIMERS)