summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/clock/world_clock_face.h
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/clock/world_clock_face.h')
-rw-r--r--movement/watch_faces/clock/world_clock_face.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/movement/watch_faces/clock/world_clock_face.h b/movement/watch_faces/clock/world_clock_face.h
index b519bc85..36960f53 100644
--- a/movement/watch_faces/clock/world_clock_face.h
+++ b/movement/watch_faces/clock/world_clock_face.h
@@ -46,12 +46,12 @@ void world_clock_face_resign(movement_settings_t *settings, void *context);
uint8_t world_clock_face_get_weekday(uint16_t day, uint16_t month, uint16_t year);
-static const watch_face_t world_clock_face = {
- world_clock_face_setup,
- world_clock_face_activate,
- world_clock_face_loop,
- world_clock_face_resign,
- NULL
-};
+#define world_clock_face ((const watch_face_t){ \
+ world_clock_face_setup, \
+ world_clock_face_activate, \
+ world_clock_face_loop, \
+ world_clock_face_resign, \
+ NULL, \
+})
#endif // WORLD_CLOCK_FACE_H_