From 4ba12780109b81d268855768d6eb1b75d00884e1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:49:21 -0500 Subject: [PATCH] spelling: threshold Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/drivers/imu/bma255/bma255.c | 2 +- src/fw/drivers/imu/bmi160/bmi160.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fw/drivers/imu/bma255/bma255.c b/src/fw/drivers/imu/bma255/bma255.c index f632b8a2..429ffd78 100644 --- a/src/fw/drivers/imu/bma255/bma255.c +++ b/src/fw/drivers/imu/bma255/bma255.c @@ -658,7 +658,7 @@ static void prv_enable_shake_detection(void) { bma255_write_register(BMA255Register_INT_MAP_0, BMA255_INT_MAP_0_INT1_SLOPE); // configure the anymotion interrupt to fire after 4 successive - // samples are over the threhold specified + // samples are over the threshold specified accel_set_shake_sensitivity_high(false /* sensitivity_high */); bma255_write_register(BMA255Register_INT_5, BMA255_INT_5_SLOPE_DUR_MASK << BMA255_INT_5_SLOPE_DUR_SHIFT); diff --git a/src/fw/drivers/imu/bmi160/bmi160.c b/src/fw/drivers/imu/bmi160/bmi160.c index 6fec68e4..ba89a839 100644 --- a/src/fw/drivers/imu/bmi160/bmi160.c +++ b/src/fw/drivers/imu/bmi160/bmi160.c @@ -959,7 +959,7 @@ static void prv_enable_shake_detection(void) { prv_read_modify_write(BMI160_REG_INT_EN_0, int_en, int_en); // configure the anymotion interrupt to fire after 4 successive - // samples are over the threhold specified + // samples are over the threshold specified accel_set_shake_sensitivity_high(false /* sensitivity_high */); prv_write_reg(BMI160_REG_INT_MOTION_0, 0x3 << BMI160_INT_MOTION_1_ANYM_DUR_SHIFT);