Skip to content

Commit

Permalink
change name in init
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyton-McKee committed Oct 25, 2023
1 parent 73cec06 commit 1c503ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/src/lsm6dso.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ HAL_StatusTypeDef lsm6dso_init(lsm6dso_t *imu, I2C_HandleTypeDef *i2c_handle)
if (status != HAL_OK)
return status;

status = lsm6dso_gyro_cfg(imu, 0x08, 0x02, 0x00);
status = lsm6dso_set_gyro_cfg(imu, 0x08, 0x02, 0x00);
if (status != HAL_OK)
return status;

Expand Down

0 comments on commit 1c503ab

Please sign in to comment.