movement:Allow disabling double tap detection in movement_enable_tap_detection_if_available

We will want to disable it in the countdown face.
This commit is contained in:
Paul Riou
2026-04-26 13:12:42 +01:00
parent a8ea642d35
commit 32ce50e70e
7 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ void countdown_face_activate(void *context) {
movement_request_tick_frequency(1);
quick_ticks_running = false;
if (state->mode != cd_running && movement_enable_tap_detection_if_available()) {
if (state->mode != cd_running && movement_enable_tap_detection_if_available(true)) {
state->tap_detection_ticks = TAP_DETECTION_SECONDS;
state->has_tapped_once = false;
}