diff options
author | Jeremy O'Brien <neutral@fastmail.com> | 2022-11-02 12:22:34 -0400 |
---|---|---|
committer | Jeremy O'Brien <neutral@fastmail.com> | 2022-11-02 12:22:34 -0400 |
commit | 9d3602220ac8498d37c9914c50b2af8bdc80b78f (patch) | |
tree | 70054279ffe46988ea2c989dc41b7df9571cdd3f /movement/watch_faces/complication/countdown_face.h | |
parent | b7a461d280d06749aeb14af1e8c17cbf3616055b (diff) | |
download | Sensor-Watch-9d3602220ac8498d37c9914c50b2af8bdc80b78f.tar.gz Sensor-Watch-9d3602220ac8498d37c9914c50b2af8bdc80b78f.tar.bz2 Sensor-Watch-9d3602220ac8498d37c9914c50b2af8bdc80b78f.zip |
Add hours support to the countdown face
Diffstat (limited to 'movement/watch_faces/complication/countdown_face.h')
-rw-r--r-- | movement/watch_faces/complication/countdown_face.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/movement/watch_faces/complication/countdown_face.h b/movement/watch_faces/complication/countdown_face.h index 657c6377..f6c845d6 100644 --- a/movement/watch_faces/complication/countdown_face.h +++ b/movement/watch_faces/complication/countdown_face.h @@ -32,8 +32,10 @@ /* A countdown/timer face -Max countdown is 99 minutes and 59 seconds since we have to prevent the watch -from going to deep sleep using movement_schedule_background_task +Max countdown is 23 hours, 59 minutes and 59 seconds. + +Note: we have to prevent the watch from going to deep sleep using +movement_schedule_background_task() while the timer is running. */ @@ -46,6 +48,7 @@ typedef enum { typedef struct { uint32_t target_ts; uint32_t now_ts; + uint8_t hours; uint8_t minutes; uint8_t seconds; uint8_t selection; |