summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complications/beats_face.h
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/complications/beats_face.h')
-rw-r--r--movement/watch_faces/complications/beats_face.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/movement/watch_faces/complications/beats_face.h b/movement/watch_faces/complications/beats_face.h
index 343e9a27..bbe2396c 100644
--- a/movement/watch_faces/complications/beats_face.h
+++ b/movement/watch_faces/complications/beats_face.h
@@ -3,6 +3,11 @@
#include "movement.h"
+typedef struct {
+ int8_t next_subsecond_update;
+ uint32_t last_centibeat_displayed;
+} beats_face_state_t;
+
uint32_t clock2beats(uint32_t hours, uint32_t minutes, uint32_t seconds, uint32_t subseconds, int16_t utc_offset);
void beats_face_setup(movement_settings_t *settings, void ** context_ptr);
void beats_face_activate(movement_settings_t *settings, void *context);