]> git.earman.xyz Git - sensor-watch.git/commitdiff
implement stubs to make simulator build happy
authorJoey Castillo <joeycastillo@utexas.edu>
Mon, 10 Oct 2022 03:58:42 +0000 (22:58 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Mon, 10 Oct 2022 03:58:42 +0000 (22:58 -0500)
movement/watch_faces/demo/frequency_correction_face.c

index 99601735b3e4e3b6f738413a279d6ee2b64b66e5..a46f192ad392fa5af6bd891bb0bb799d521e91eb 100644 (file)
@@ -139,4 +139,30 @@ void frequency_correction_face_resign(movement_settings_t *settings, void *conte
     _disable_output();
 }
 
+#else
+
+void frequency_correction_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr) {
+    (void) settings;
+    (void) watch_face_index;
+    (void) context_ptr;
+}
+
+void frequency_correction_face_activate(movement_settings_t *settings, void *context) {
+    (void) settings;
+    (void) context;
+}
+
+bool frequency_correction_face_loop(movement_event_t event, movement_settings_t *settings, void *context) {
+    (void) settings;
+    (void) context;
+    (void) event;
+
+    return true;
+}
+
+void frequency_correction_face_resign(movement_settings_t *settings, void *context) {
+    (void) settings;
+    (void) context;
+}
+
 #endif