]> git.earman.xyz Git - sensor-watch.git/commitdiff
countdown timer: snap back to clock on timeout, unless running
authorJoey Castillo <joeycastillo@utexas.edu>
Wed, 4 Jun 2025 04:19:51 +0000 (00:19 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Wed, 4 Jun 2025 04:19:51 +0000 (00:19 -0400)
watch-faces/complication/countdown_face.c

index bf5bc21a13d32922936ffe6f3b1a0a7d4302493b..edfb19f9acc098e5e88fc697e72a420ec0fbdd08 100644 (file)
@@ -356,7 +356,9 @@ bool countdown_face_loop(movement_event_t event, void *context) {
                 state->mode = cd_reset;
                 store_countdown(state);
                 movement_request_tick_frequency(1);
-                button_beep();
+            }
+            if (state->mode != cd_running) {
+                movement_move_to_face(0);
             }
             break;
         case EVENT_LOW_ENERGY_UPDATE: