Skip to content

Commit

Permalink
fix(motor-control): use freertos delay instead of hardware delay (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj authored May 21, 2024
1 parent fb2308b commit 8738ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motor-control/firmware/motor_control_hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


0 comments on commit 8738ed7

Please sign in to comment.