Skip to content

Commit

Permalink
use freertos delay instead
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed May 21, 2024
1 parent fb2308b commit 0abde34
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 0abde34

Please sign in to comment.