balance init

This commit is contained in:
kai
2024-01-14 21:22:34 +08:00
parent 9dd0057563
commit 6f22c0ac30
20 changed files with 395 additions and 1056 deletions

View File

@@ -119,9 +119,9 @@ __attribute__((noreturn)) void StartROBOTTASK(void const *argument)
robot_start = DWT_GetTimeline_ms();
RobotTask();
robot_dt = DWT_GetTimeline_ms() - robot_start;
if (robot_dt > 5)
if (robot_dt > 1)
LOGERROR("[freeRTOS] ROBOT core Task is being DELAY! dt = [%f]", &robot_dt);
osDelay(5);
osDelay(1);
}
}