summaryrefslogtreecommitdiffstats
path: root/movement/movement.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/movement.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/movement.h')
-rw-r--r--movement/movement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/movement.h b/movement/movement.h
index b99f4e8b..5431436b 100644
--- a/movement/movement.h
+++ b/movement/movement.h
@@ -120,7 +120,7 @@ extern const char movement_valid_position_1_chars[];
* data required for your watch face.
*
*/
-typedef void (*watch_face_setup)(movement_settings_t *settings, void ** context_ptr);
+typedef void (*watch_face_setup)(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr);
/** @brief Prepare to go on-screen.
* @details This function is called just before your watch enters the foreground. If your watch face has any