LIS2DW tap mode uses low-power mode

This commit is contained in:
David Volovskiy 2025-11-15 12:48:16 -05:00
parent fe1c024e47
commit 6609b3f79a

View File

@ -521,7 +521,7 @@ bool movement_enable_tap_detection_if_available(void) {
// ramp data rate up to 400 Hz and high performance mode
lis2dw_set_low_noise_mode(true);
lis2dw_set_data_rate(LIS2DW_DATA_RATE_HP_400_HZ);
lis2dw_set_mode(LIS2DW_MODE_HIGH_PERFORMANCE);
lis2dw_set_mode(LIS2DW_MODE_LOW_POWER);
// Settling time (1 sample duration, i.e. 1/400Hz)
delay_ms(3);