summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complications/beats_face.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-20 17:02:17 -0600
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-20 17:02:17 -0600
commit60fe9691917f7e40effc72b1b6c929f9ba0ba3ee (patch)
treefe3e64a49d0d440f94e3f8ac948c71edf8b2538b /movement/watch_faces/complications/beats_face.h
parent03e107b81a63c08443165497d57dc2d756b78094 (diff)
downloadSensor-Watch-60fe9691917f7e40effc72b1b6c929f9ba0ba3ee.tar.gz
Sensor-Watch-60fe9691917f7e40effc72b1b6c929f9ba0ba3ee.tar.bz2
Sensor-Watch-60fe9691917f7e40effc72b1b6c929f9ba0ba3ee.zip
Movement: give watch faces their index at setup time
Diffstat (limited to 'movement/watch_faces/complications/beats_face.h')
-rw-r--r--movement/watch_faces/complications/beats_face.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/complications/beats_face.h b/movement/watch_faces/complications/beats_face.h
index bbe2396c..f11126d1 100644
--- a/movement/watch_faces/complications/beats_face.h
+++ b/movement/watch_faces/complications/beats_face.h
@@ -9,7 +9,7 @@ typedef struct {
} 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_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);