From 70a936f8b18164a772e486ab076dc0fe0fb8ec8f Mon Sep 17 00:00:00 2001 From: Myers-Ty Date: Wed, 4 Dec 2024 20:20:03 -0500 Subject: [PATCH] Updated lsm6dso driver and interfaced with IMU --- Core/Src/msb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Src/msb.c b/Core/Src/msb.c index ab62390..cc50175 100644 --- a/Core/Src/msb.c +++ b/Core/Src/msb.c @@ -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) @@ -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)