summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/clock/simple_clock_face.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-02-05 17:42:43 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-02-05 17:42:43 -0500
commit18302bf9c46093c90e6bfea499360e342c996151 (patch)
treea669ea0621ad3a6f1d5382e85fd6fbe928218d4b /movement/watch_faces/clock/simple_clock_face.h
parentdf0c2bfd80e5d0da61b43cdcb79443d797179820 (diff)
downloadSensor-Watch-18302bf9c46093c90e6bfea499360e342c996151.tar.gz
Sensor-Watch-18302bf9c46093c90e6bfea499360e342c996151.tar.bz2
Sensor-Watch-18302bf9c46093c90e6bfea499360e342c996151.zip
movement: add low battery warning to simple clock
Diffstat (limited to 'movement/watch_faces/clock/simple_clock_face.h')
-rw-r--r--movement/watch_faces/clock/simple_clock_face.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/movement/watch_faces/clock/simple_clock_face.h b/movement/watch_faces/clock/simple_clock_face.h
index 6e8665bf..aa625700 100644
--- a/movement/watch_faces/clock/simple_clock_face.h
+++ b/movement/watch_faces/clock/simple_clock_face.h
@@ -29,8 +29,10 @@
typedef struct {
uint32_t previous_date_time;
+ uint8_t last_battery_check;
uint8_t watch_face_index;
bool signal_enabled;
+ bool battery_low;
} simple_clock_state_t;
void simple_clock_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr);