Skip to content

Commit 50d0c32

Browse files
committed
fix
1 parent 1f9aca3 commit 50d0c32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Src/u_sensors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int32_t _lsm6dsv_write(void *handle, uint8_t register_address, uint8_t *data, ui
117117
}
118118

119119
void _delay(uint32_t delay) {
120-
HAL_Delay(delay);
120+
tx_thread_sleep(delay);
121121
}
122122

123123
uint16_t imu_get_accelerometer_data(LSM6DSV_Axes_t *axes) {

0 commit comments

Comments
 (0)