Updated comments
This commit is contained in:
parent
a3742ff8b9
commit
ce29cc8277
|
@ -828,7 +828,7 @@ void taskMainPidLoop(uint32_t currentTime)
|
||||||
runTaskMainSubprocesses = false;
|
runTaskMainSubprocesses = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// DEBUG_PIDLOOP
|
// DEBUG_PIDLOOP, timings for:
|
||||||
// 0 - gyroUpdate()
|
// 0 - gyroUpdate()
|
||||||
// 1 - pidController()
|
// 1 - pidController()
|
||||||
// 2 - subTaskMainSubprocesses()
|
// 2 - subTaskMainSubprocesses()
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
|
|
||||||
#include "drivers/system.h"
|
#include "drivers/system.h"
|
||||||
|
|
||||||
|
// DEBUG_SCHEDULER, timings for:
|
||||||
|
// 0 - gyroUpdate()
|
||||||
|
// 1 - pidController()
|
||||||
|
// 2 - time spent in scheduler
|
||||||
|
// 3 - time spent executing check function
|
||||||
|
|
||||||
static cfTask_t *currentTask = NULL;
|
static cfTask_t *currentTask = NULL;
|
||||||
|
|
||||||
static uint32_t totalWaitingTasks;
|
static uint32_t totalWaitingTasks;
|
||||||
|
|
Loading…
Reference in New Issue