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:
@@ -237,7 +237,7 @@ void probability_face_activate(void *context)
|
||||
movement_request_tick_frequency(1);
|
||||
|
||||
// Enable tap detection for a few seconds when face is activated
|
||||
if (movement_enable_tap_detection_if_available()) {
|
||||
if (movement_enable_tap_detection_if_available(true)) {
|
||||
state->tap_detection_ticks = TAP_DETECTION_SECONDS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user