]> git.earman.xyz Git - sensor-watch.git/commitdiff
don't time out first watch face
authorjoeycastillo <joeycastillo@utexas.edu>
Sun, 22 Sep 2024 17:57:16 +0000 (13:57 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Sun, 22 Sep 2024 17:57:16 +0000 (13:57 -0400)
movement.c

index a7bf92e2ea0d95cfeb53cf0a1630ca72eb6b4165..3f0c1c595df1d96fd86f6432b7096237d9e951c4 100644 (file)
@@ -584,7 +584,7 @@ bool app_loop(void) {
     }
 
     // if we have timed out of our timeout countdown, give the app a hint that they can resign.
-    if (movement_state.timeout_ticks == 0) {
+    if (movement_state.timeout_ticks == 0 && movement_state.current_face_idx != 0) {
         movement_state.timeout_ticks = -1;
         if (movement_state.settings.bit.to_always == false) {
             // if "timeout always" is false, give the current watch face a chance to exit gracefully...