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

@@ -17,8 +17,9 @@ const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFEFENCES][11] = {
"LT red ", // Light: red component
};
void preferences_face_setup(movement_settings_t *settings, void ** context_ptr) {
void preferences_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(uint8_t));
}