Movement: give watch faces their index at setup time
This commit is contained in:
@@ -9,7 +9,7 @@ typedef struct {
|
||||
} beats_face_state_t;
|
||||
|
||||
uint32_t clock2beats(uint32_t hours, uint32_t minutes, uint32_t seconds, uint32_t subseconds, int16_t utc_offset);
|
||||
void beats_face_setup(movement_settings_t *settings, void ** context_ptr);
|
||||
void beats_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr);
|
||||
void beats_face_activate(movement_settings_t *settings, void *context);
|
||||
bool beats_face_loop(movement_event_t event, movement_settings_t *settings, void *context);
|
||||
void beats_face_resign(movement_settings_t *settings, void *context);
|
||||
|
||||
Reference in New Issue
Block a user