]> git.earman.xyz Git - sensor-watch.git/commitdiff
We forgot to enable the actual double tap
authorDavid Volovskiy <devolov@gmail.com>
Tue, 2 Dec 2025 01:11:40 +0000 (20:11 -0500)
committerDavid Volovskiy <devolov@gmail.com>
Tue, 2 Dec 2025 01:11:40 +0000 (20:11 -0500)
movement.c

index e81ccb94b12ac4d082e26e112f649c8d79d86370..a37e8df2d58fd556766fb9ce8261e28b0c1f4c44 100644 (file)
@@ -520,6 +520,7 @@ bool movement_enable_tap_detection_if_available(void) {
         lis2dw_set_low_noise_mode(true);
         lis2dw_set_data_rate(LIS2DW_DATA_RATE_HP_400_HZ);
         lis2dw_set_mode(LIS2DW_MODE_LOW_POWER);
+        lis2dw_enable_double_tap();
 
         // Settling time (1 sample duration, i.e. 1/400Hz)
         delay_ms(3);