diff --git a/watch-faces/clock/clock_face.c b/watch-faces/clock/clock_face.c index 53aad95f..78d9d700 100644 --- a/watch-faces/clock/clock_face.c +++ b/watch-faces/clock/clock_face.c @@ -42,16 +42,6 @@ #define CLOCK_FACE_LOW_BATTERY_VOLTAGE_THRESHOLD 2400 #endif -typedef struct { - struct { - watch_date_time_t previous; - } date_time; - uint8_t last_battery_check; - uint8_t watch_face_index; - bool time_signal_enabled; - bool battery_low; -} clock_state_t; - static void clock_indicate(watch_indicator_t indicator, bool on) { if (on) { watch_set_indicator(indicator); diff --git a/watch-faces/clock/clock_face.h b/watch-faces/clock/clock_face.h index 4ad33e15..bd0c384f 100644 --- a/watch-faces/clock/clock_face.h +++ b/watch-faces/clock/clock_face.h @@ -43,6 +43,16 @@ #include "movement.h" +typedef struct { + struct { + watch_date_time_t previous; + } date_time; + uint8_t last_battery_check; + uint8_t watch_face_index; + bool time_signal_enabled; + bool battery_low; +} clock_state_t; + void clock_face_setup(uint8_t watch_face_index, void ** context_ptr); void clock_face_activate(void *context); bool clock_face_loop(movement_event_t event, void *context);