mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Debug modes cleanup
This commit is contained in:
parent
95589e0fc9
commit
564421ce1c
4 changed files with 10 additions and 21 deletions
|
@ -1295,10 +1295,8 @@ FAST_CODE void taskMainPidLoop(timeUs_t currentTimeUs)
|
|||
subTaskMotorUpdate(currentTimeUs);
|
||||
subTaskPidSubprocesses(currentTimeUs);
|
||||
|
||||
if (debugMode == DEBUG_CYCLETIME) {
|
||||
DEBUG_SET(DEBUG_CYCLETIME, 0, getTaskDeltaTimeUs(TASK_SELF));
|
||||
DEBUG_SET(DEBUG_CYCLETIME, 1, getAverageSystemLoadPercent());
|
||||
}
|
||||
DEBUG_SET(DEBUG_CYCLETIME, 0, getTaskDeltaTimeUs(TASK_SELF));
|
||||
DEBUG_SET(DEBUG_CYCLETIME, 1, getAverageSystemLoadPercent());
|
||||
}
|
||||
|
||||
bool isFlipOverAfterCrashActive(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue