summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complications/stopwatch_face.h
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/complications/stopwatch_face.h')
-rw-r--r--movement/watch_faces/complications/stopwatch_face.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/movement/watch_faces/complications/stopwatch_face.h b/movement/watch_faces/complications/stopwatch_face.h
index ff0c1796..c6e3aadb 100644
--- a/movement/watch_faces/complications/stopwatch_face.h
+++ b/movement/watch_faces/complications/stopwatch_face.h
@@ -15,12 +15,12 @@ void stopwatch_face_activate(movement_settings_t *settings, void *context);
bool stopwatch_face_loop(movement_event_t event, movement_settings_t *settings, void *context);
void stopwatch_face_resign(movement_settings_t *settings, void *context);
-static const watch_face_t stopwatch_face = {
- stopwatch_face_setup,
- stopwatch_face_activate,
- stopwatch_face_loop,
- stopwatch_face_resign,
- NULL
-};
+#define stopwatch_face ((const watch_face_t){ \
+ stopwatch_face_setup, \
+ stopwatch_face_activate, \
+ stopwatch_face_loop, \
+ stopwatch_face_resign, \
+ NULL, \
+})
-#endif // STOPWATCH_FACE_H_ \ No newline at end of file
+#endif // STOPWATCH_FACE_H_