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,