From 1c503abb22fdc65427dfa75b69ee33ce088bdcc0 Mon Sep 17 00:00:00 2001 From: Peyton-McKee Date: Tue, 24 Oct 2023 20:20:03 -0400 Subject: [PATCH] change name in init --- general/src/lsm6dso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/src/lsm6dso.c b/general/src/lsm6dso.c index 68b2ecd..6abf956 100644 --- a/general/src/lsm6dso.c +++ b/general/src/lsm6dso.c @@ -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;