From 60fe9691917f7e40effc72b1b6c929f9ba0ba3ee Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 20 Dec 2021 17:02:17 -0600 Subject: Movement: give watch faces their index at setup time --- movement/movement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'movement/movement.h') 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 -- cgit v1.2.3