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);