From 7529866267dfabdeab495dc17a17f09430848d45 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 29 Nov 2021 14:04:24 -0500 Subject: movement bugfix: prevent repeated timeout events from stalling watch face --- movement/movement.c | 1 + 1 file changed, 1 insertion(+) (limited to 'movement') diff --git a/movement/movement.c b/movement/movement.c index 76cd2252..91cd3912 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -250,6 +250,7 @@ bool app_loop() { // if we have timed out of our timeout countdown, give the app a hint that they can resign. if (movement_state.timeout_ticks == 0) { + movement_state.timeout_ticks = -1; event.event_type = EVENT_TIMEOUT; event.subsecond = movement_state.subsecond; watch_faces[movement_state.current_watch_face].loop(event, &movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); -- cgit v1.2.3