diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-10-16 16:51:36 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-10-16 16:51:36 -0400 |
commit | c27dbc779b252c32370e2cd34a22f51d120d0f38 (patch) | |
tree | e4d4e0603654084639626e5b2756e6f758285701 /movement/watch_faces/complications/pulsometer_face.h | |
parent | 05fe055f99b9b950086b1e38a9c795d7e076c5b2 (diff) | |
download | Sensor-Watch-c27dbc779b252c32370e2cd34a22f51d120d0f38.tar.gz Sensor-Watch-c27dbc779b252c32370e2cd34a22f51d120d0f38.tar.bz2 Sensor-Watch-c27dbc779b252c32370e2cd34a22f51d120d0f38.zip |
fix misspelling of pulsometer
Diffstat (limited to 'movement/watch_faces/complications/pulsometer_face.h')
-rw-r--r-- | movement/watch_faces/complications/pulsometer_face.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/movement/watch_faces/complications/pulsometer_face.h b/movement/watch_faces/complications/pulsometer_face.h new file mode 100644 index 00000000..76af8257 --- /dev/null +++ b/movement/watch_faces/complications/pulsometer_face.h @@ -0,0 +1,25 @@ +#ifndef PULSOMETER_FACE_H_ +#define PULSOMETER_FACE_H_ + +#include "movement.h" + +typedef struct { + bool measuring; + int16_t pulse; + int16_t ticks; +} PulsometerState; + +void pulsometer_face_setup(movement_settings_t *settings, void ** context_ptr); +void pulsometer_face_activate(movement_settings_t *settings, void *context); +bool pulsometer_face_loop(movement_event_t event, movement_settings_t *settings, void *context); +void pulsometer_face_resign(movement_settings_t *settings, void *context); + +static const watch_face_t pulsometer_face = { + pulsometer_face_setup, + pulsometer_face_activate, + pulsometer_face_loop, + pulsometer_face_resign, + NULL +}; + +#endif // PULSOMETER_FACE_H_
\ No newline at end of file |