Updated comments

This commit is contained in:
Martin Budden 2016-11-27 07:19:24 +00:00
parent a3742ff8b9
commit ce29cc8277
2 changed files with 7 additions and 1 deletions

View File

@ -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()

View File

@ -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;