mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: threshold
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
9485f1e908
commit
4ba1278010
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue