summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complication/countdown_face.c
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/complication/countdown_face.c')
-rw-r--r--movement/watch_faces/complication/countdown_face.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/movement/watch_faces/complication/countdown_face.c b/movement/watch_faces/complication/countdown_face.c
index 81836f37..ee523b41 100644
--- a/movement/watch_faces/complication/countdown_face.c
+++ b/movement/watch_faces/complication/countdown_face.c
@@ -179,7 +179,10 @@ bool countdown_face_loop(movement_event_t event, movement_settings_t *settings,
reset(state);
break;
case cd_waiting:
- start(state, settings);
+ if (!(state->minutes == 0 && state->seconds == 0)) {
+ // Only start the timer if we have a valid time.
+ start(state, settings);
+ }
break;
case cd_setting:
settings_increment(state);
@@ -192,7 +195,7 @@ bool countdown_face_loop(movement_event_t event, movement_settings_t *settings,
break;
case EVENT_ALARM_LONG_PRESS:
if (state->mode == cd_setting) {
- state->minutes = DEFAULT_MINUTES;
+ state->minutes = 0;
state->seconds = 0;
draw(state, event.subsecond);
break;