From 28968075ef9f865d93231b44886fa5dd65ae6ce4 Mon Sep 17 00:00:00 2001 From: Tellicious Date: Sat, 9 Nov 2024 12:36:03 +0100 Subject: [PATCH] Fixed `LSM6DSL_HP_DISABLE_LP1_STRONG` constant naming --- lsm6dsl_reg.c | 4 ++-- lsm6dsl_reg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lsm6dsl_reg.c b/lsm6dsl_reg.c index b765ffd..e84c617 100644 --- a/lsm6dsl_reg.c +++ b/lsm6dsl_reg.c @@ -2417,8 +2417,8 @@ int32_t lsm6dsl_gy_band_pass_get(const stmdev_ctx_t *ctx, *val = LSM6DSL_HP_DISABLE_LP1_NORMAL; break; - case LSM6DSL_HP_DISABLE_LP_STRONG: - *val = LSM6DSL_HP_DISABLE_LP_STRONG; + case LSM6DSL_HP_DISABLE_LP1_STRONG: + *val = LSM6DSL_HP_DISABLE_LP1_STRONG; break; case LSM6DSL_HP_DISABLE_LP1_AGGRESSIVE: diff --git a/lsm6dsl_reg.h b/lsm6dsl_reg.h index 37d0d2f..6e267a8 100644 --- a/lsm6dsl_reg.h +++ b/lsm6dsl_reg.h @@ -2060,7 +2060,7 @@ typedef enum LSM6DSL_HP_DISABLE_LP1_LIGHT = 0x0A, LSM6DSL_HP_DISABLE_LP1_NORMAL = 0x09, - LSM6DSL_HP_DISABLE_LP_STRONG = 0x08, + LSM6DSL_HP_DISABLE_LP1_STRONG = 0x08, LSM6DSL_HP_DISABLE_LP1_AGGRESSIVE = 0x0B, LSM6DSL_HP_16mHz_LP1_LIGHT = 0x8A,