summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/thermistor/thermistor_logging_face.h
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/thermistor/thermistor_logging_face.h')
-rw-r--r--movement/watch_faces/thermistor/thermistor_logging_face.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/movement/watch_faces/thermistor/thermistor_logging_face.h b/movement/watch_faces/thermistor/thermistor_logging_face.h
index effb8822..4ba593ec 100644
--- a/movement/watch_faces/thermistor/thermistor_logging_face.h
+++ b/movement/watch_faces/thermistor/thermistor_logging_face.h
@@ -48,12 +48,12 @@ bool thermistor_logging_face_loop(movement_event_t event, movement_settings_t *s
void thermistor_logging_face_resign(movement_settings_t *settings, void *context);
bool thermistor_logging_face_wants_background_task(movement_settings_t *settings, void *context);
-static const watch_face_t thermistor_logging_face = {
- thermistor_logging_face_setup,
- thermistor_logging_face_activate,
- thermistor_logging_face_loop,
- thermistor_logging_face_resign,
- thermistor_logging_face_wants_background_task
-};
+#define thermistor_logging_face ((const watch_face_t){ \
+ thermistor_logging_face_setup, \
+ thermistor_logging_face_activate, \
+ thermistor_logging_face_loop, \
+ thermistor_logging_face_resign, \
+ thermistor_logging_face_wants_background_task, \
+})
#endif // THERMISTOR_LOGGING_FACE_H_