diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-19 11:16:10 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-19 11:16:10 -0500 |
commit | 138b3d0c5e4c9bd32adef17c83981b180c676969 (patch) | |
tree | f162c22288024a3af22aa26f475dc57c239a2a6a /movement/movement.c | |
parent | fb71be55ee09c1f7117c6bcdf4f4de30778c8f30 (diff) | |
download | Sensor-Watch-138b3d0c5e4c9bd32adef17c83981b180c676969.tar.gz Sensor-Watch-138b3d0c5e4c9bd32adef17c83981b180c676969.tar.bz2 Sensor-Watch-138b3d0c5e4c9bd32adef17c83981b180c676969.zip |
movement: reset tick to 1 Hz between watch faces (fixes #36)
Diffstat (limited to 'movement/movement.c')
-rw-r--r-- | movement/movement.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/movement/movement.c b/movement/movement.c index a6d3d111..2fc08d80 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -278,6 +278,7 @@ bool app_loop(void) { watch_faces[movement_state.current_watch_face].resign(&movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); movement_state.current_watch_face = movement_state.next_watch_face; watch_clear_display(); + movement_request_tick_frequency(1); watch_faces[movement_state.current_watch_face].activate(&movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); event.subsecond = 0; event.event_type = EVENT_ACTIVATE; |