diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-20 17:02:17 -0600 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-20 17:02:17 -0600 |
commit | 60fe9691917f7e40effc72b1b6c929f9ba0ba3ee (patch) | |
tree | fe3e64a49d0d440f94e3f8ac948c71edf8b2538b /movement/watch_faces/demos/character_set_face.c | |
parent | 03e107b81a63c08443165497d57dc2d756b78094 (diff) | |
download | Sensor-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/demos/character_set_face.c')
-rw-r--r-- | movement/watch_faces/demos/character_set_face.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/movement/watch_faces/demos/character_set_face.c b/movement/watch_faces/demos/character_set_face.c index eabb133f..127c0fb3 100644 --- a/movement/watch_faces/demos/character_set_face.c +++ b/movement/watch_faces/demos/character_set_face.c @@ -3,8 +3,9 @@ #include "character_set_face.h" #include "watch.h" -void character_set_face_setup(movement_settings_t *settings, void ** context_ptr) { +void character_set_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr) { (void) settings; + (void) watch_face_index; if (*context_ptr == NULL) *context_ptr = malloc(sizeof(char)); } |