1
0
Fork 0
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:
Štěpán Dalecký 2021-12-04 18:43:05 +01:00
parent 95589e0fc9
commit 564421ce1c
4 changed files with 10 additions and 21 deletions

View file

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