diff options
Diffstat (limited to 'movement/watch_faces/demos/voltage_face.h')
-rw-r--r-- | movement/watch_faces/demos/voltage_face.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/movement/watch_faces/demos/voltage_face.h b/movement/watch_faces/demos/voltage_face.h new file mode 100644 index 00000000..da580da5 --- /dev/null +++ b/movement/watch_faces/demos/voltage_face.h @@ -0,0 +1,19 @@ +#ifndef VOLTAGE_FACE_H_ +#define VOLTAGE_FACE_H_ + +#include "movement.h" + +void voltage_face_setup(movement_settings_t *settings, void ** context_ptr); +void voltage_face_activate(movement_settings_t *settings, void *context); +bool voltage_face_loop(movement_event_t event, movement_settings_t *settings, void *context); +void voltage_face_resign(movement_settings_t *settings, void *context); + +static const watch_face_t voltage_face = { + voltage_face_setup, + voltage_face_activate, + voltage_face_loop, + voltage_face_resign, + NULL +}; + +#endif // VOLTAGE_FACE_H_
\ No newline at end of file |