Skip to content

Commit

Permalink
Updated lsm6dso driver and interfaced with IMU
Browse files Browse the repository at this point in the history
  • Loading branch information
Myers-Ty committed Dec 5, 2024
1 parent 226ddcb commit 70a936f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Src/msb.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void strain2_read(uint32_t strain2)
#endif

#ifdef SENSOR_IMU
int8_t accel_read(LSM6DSO_Axes_t* accel)
int8_t accel_read(LSM6DSO_Axes_t *accel)
{
osStatus_t mut_stat = osMutexAcquire(i2c_mutex, osWaitForever);
if (mut_stat)
Expand All @@ -159,7 +159,7 @@ int8_t accel_read(LSM6DSO_Axes_t* accel)
return 0;
}

int8_t gyro_read(LSM6DSO_Axes_t* gyro)
int8_t gyro_read(LSM6DSO_Axes_t *gyro)
{
osStatus_t mut_stat = osMutexAcquire(i2c_mutex, osWaitForever);
if (mut_stat)
Expand Down

0 comments on commit 70a936f

Please sign in to comment.