🎨 Replaces delay with vTaskDelay

This commit is contained in:
Rune Harlyk
2025-09-14 19:46:42 +02:00
committed by Rune Harlyk
parent 4ea287b162
commit 0285b522f1
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ void test_gaitPlanner_calculateStep_time() {
}
void setup() {
delay(2000); // Allow time for Serial to initialize if running on an ESP32
vTaskDelay(2000 / portTICK_PERIOD_MS); // Allow time for Serial to initialize if running on an ESP32
UNITY_BEGIN();
RUN_TEST(test_gaitPlanner_calculateStep_time);
UNITY_END();