From 8738ed73ded60c6f6089e56869fff3c51f53b67c Mon Sep 17 00:00:00 2001 From: Caila Marashaj <98041399+caila-marashaj@users.noreply.github.com> Date: Tue, 21 May 2024 15:19:09 -0400 Subject: [PATCH] fix(motor-control): use freertos delay instead of hardware delay (#780) --- motor-control/firmware/motor_control_hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motor-control/firmware/motor_control_hardware.c b/motor-control/firmware/motor_control_hardware.c index d4cdb534a..a6275b459 100644 --- a/motor-control/firmware/motor_control_hardware.c +++ b/motor-control/firmware/motor_control_hardware.c @@ -133,7 +133,7 @@ uint16_t motor_hardware_get_stopwatch_pulses(void* stopwatch_handle, uint8_t cle } void motor_hardware_delay(uint32_t delay) { - HAL_Delay(delay); + vTaskDelay(delay); }