Movement: give watch faces their index at setup time

This commit is contained in:
Joey Castillo
2021-12-20 17:02:17 -06:00
parent 03e107b81a
commit 60fe969191
33 changed files with 49 additions and 34 deletions

View File

@@ -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