diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-25 15:39:04 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-25 15:39:04 -0500 |
commit | 249bfc183c5d7c13d94ffecf5389a6b56a2d735d (patch) | |
tree | e4c3be3f863312c6fb743621c1b6a5ce22ba18f0 /movement/watch_faces/complications/beats_face.h | |
parent | b8de35658ffd78ad8b22f91ccbbd3d63663afda9 (diff) | |
download | Sensor-Watch-249bfc183c5d7c13d94ffecf5389a6b56a2d735d.tar.gz Sensor-Watch-249bfc183c5d7c13d94ffecf5389a6b56a2d735d.tar.bz2 Sensor-Watch-249bfc183c5d7c13d94ffecf5389a6b56a2d735d.zip |
movement: move beat time to clock folder
Diffstat (limited to 'movement/watch_faces/complications/beats_face.h')
-rw-r--r-- | movement/watch_faces/complications/beats_face.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/movement/watch_faces/complications/beats_face.h b/movement/watch_faces/complications/beats_face.h deleted file mode 100644 index 2bbbc26d..00000000 --- a/movement/watch_faces/complications/beats_face.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef BEATS_FACE_H_ -#define BEATS_FACE_H_ - -#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, uint8_t watch_face_index, void ** context_ptr); -void beats_face_activate(movement_settings_t *settings, void *context); -bool beats_face_loop(movement_event_t event, movement_settings_t *settings, void *context); -void beats_face_resign(movement_settings_t *settings, void *context); - -#define beats_face ((const watch_face_t){ \ - beats_face_setup, \ - beats_face_activate, \ - beats_face_loop, \ - beats_face_resign, \ - NULL, \ -}) - -#endif // BEATS_FACE_H_
\ No newline at end of file |