From: Joey Castillo Date: Mon, 10 Oct 2022 03:58:42 +0000 (-0500) Subject: implement stubs to make simulator build happy X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=95f2f25ee68d2c7bd1f55f74d425153a9aa4d36d;p=sensor-watch.git implement stubs to make simulator build happy --- diff --git a/movement/watch_faces/demo/frequency_correction_face.c b/movement/watch_faces/demo/frequency_correction_face.c index 9960173..a46f192 100644 --- a/movement/watch_faces/demo/frequency_correction_face.c +++ b/movement/watch_faces/demo/frequency_correction_face.c @@ -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