diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2023-01-27 00:08:36 -0600 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2023-01-27 00:08:36 -0600 |
commit | c945f323f467803f09a81221cee0c53d95b4cf86 (patch) | |
tree | 649e4c65c1ac5ae33602ee3ea612a86e980c09c1 | |
parent | f66b276dad46b54a592f1c8e76509f0d16c40c0b (diff) | |
download | Sensor-Watch-c945f323f467803f09a81221cee0c53d95b4cf86.tar.gz Sensor-Watch-c945f323f467803f09a81221cee0c53d95b4cf86.tar.bz2 Sensor-Watch-c945f323f467803f09a81221cee0c53d95b4cf86.zip |
fix for events firing way too fast
-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 64159519..902bc4d5 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -479,6 +479,7 @@ bool app_loop(void) { if (event.event_type) { event.subsecond = movement_state.subsecond; can_sleep = watch_faces[movement_state.current_watch_face].loop(event, &movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); + event.event_type = EVENT_NONE; } // if we have timed out of our timeout countdown, give the app a hint that they can resign. |