Skip to content

Commit 8738ed7

Browse files
fix(motor-control): use freertos delay instead of hardware delay (#780)
1 parent fb2308b commit 8738ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

motor-control/firmware/motor_control_hardware.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ uint16_t motor_hardware_get_stopwatch_pulses(void* stopwatch_handle, uint8_t cle
133133
}
134134

135135
void motor_hardware_delay(uint32_t delay) {
136-
HAL_Delay(delay);
136+
vTaskDelay(delay);
137137
}
138138

139139

0 commit comments

Comments
 (0)