From 95d5bcbed5fbdd21ba5181b8162bb423cf8b6302 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:53:08 -0500 Subject: [PATCH] BMI270 - ensure over --- src/main/drivers/accgyro/accgyro_bmi270_maximum_fifo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/drivers/accgyro/accgyro_bmi270_maximum_fifo.c b/src/main/drivers/accgyro/accgyro_bmi270_maximum_fifo.c index 0305f68f1a..530726ad33 100644 --- a/src/main/drivers/accgyro/accgyro_bmi270_maximum_fifo.c +++ b/src/main/drivers/accgyro/accgyro_bmi270_maximum_fifo.c @@ -98,7 +98,7 @@ const struct bmi2_feature_config bmi270_maximum_fifo_feat_out[BMI270_MAXIMUM_FIF * @retval 0 -> Success * @retval < 0 -> Fail */ -static int8_t null_ptr_check(const struct bmi2_dev *dev); +static int8_t null_ptr_check(const struct bmi2_dev *bus); /***************************************************************************/ @@ -113,7 +113,7 @@ static int8_t null_ptr_check(const struct bmi2_dev *dev); * 4) Updates the feature offset parameters in the device structure. * 5) Updates the maximum number of pages, in the device structure. */ -int8_t bmi270_maximum_fifo_init(struct bmi2_dev *dev) +int8_t bmi270_maximum_fifo_init(struct bmi2_dev *bus) { /* Variable to define result */ int8_t rslt; @@ -197,7 +197,7 @@ int8_t bmi270_maximum_fifo_init(struct bmi2_dev *dev) * @brief This internal API is used to validate the device structure pointer for * null conditions. */ -static int8_t null_ptr_check(const struct bmi2_dev *dev) +static int8_t null_ptr_check(const struct bmi2_dev *bus) { /* Variable to define result */ int8_t rslt = BMI2_OK;