summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complication/countdown_face.h
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2023-01-25 09:26:31 -0600
committerGitHub <noreply@github.com>2023-01-25 09:26:31 -0600
commit4412b5d08f90084a8e677bea4792851e6d82bdf3 (patch)
treec1298f3ea924d8102b33bd796373209dad8be63b /movement/watch_faces/complication/countdown_face.h
parent2b22ecc8e43cc21c56d82ee3f89f32dd7b6b8e4a (diff)
parent3303060c59e1591bd2c6bb7cfc5b21e550728d6d (diff)
downloadSensor-Watch-default-handler.tar.gz
Sensor-Watch-default-handler.tar.bz2
Sensor-Watch-default-handler.zip
Merge branch 'main' into default-handlerdefault-handler
Diffstat (limited to 'movement/watch_faces/complication/countdown_face.h')
-rw-r--r--movement/watch_faces/complication/countdown_face.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/movement/watch_faces/complication/countdown_face.h b/movement/watch_faces/complication/countdown_face.h
index f6c845d6..12bb1d1e 100644
--- a/movement/watch_faces/complication/countdown_face.h
+++ b/movement/watch_faces/complication/countdown_face.h
@@ -40,9 +40,10 @@ movement_schedule_background_task() while the timer is running.
typedef enum {
- cd_waiting,
+ cd_paused,
cd_running,
- cd_setting
+ cd_setting,
+ cd_reset
} countdown_mode_t;
typedef struct {
@@ -51,6 +52,9 @@ typedef struct {
uint8_t hours;
uint8_t minutes;
uint8_t seconds;
+ uint8_t set_hours;
+ uint8_t set_minutes;
+ uint8_t set_seconds;
uint8_t selection;
countdown_mode_t mode;
} countdown_state_t;