summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2022-10-12 00:20:11 -0500
committerjoeycastillo <joeycastillo@utexas.edu>2022-10-12 00:20:11 -0500
commit1bb656db91c6b5b9bc4a5cf60c49b14d346731df (patch)
treef72551e37f8a756ef4477223ca8e464cc95f955a
parentf89cecc56a974b914b54a190157bd77d1e7c9be9 (diff)
downloadSensor-Watch-1bb656db91c6b5b9bc4a5cf60c49b14d346731df.tar.gz
Sensor-Watch-1bb656db91c6b5b9bc4a5cf60c49b14d346731df.tar.bz2
Sensor-Watch-1bb656db91c6b5b9bc4a5cf60c49b14d346731df.zip
use watch_face_changed property
-rw-r--r--movement/movement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/movement.c b/movement/movement.c
index 9409d037..8c58b202 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -415,7 +415,7 @@ bool app_loop(void) {
// (which would effectively disable the normal 'long press to face 0' behaviour).
if (event.event_type == EVENT_MODE_LONG_PRESS
&& movement_state.current_watch_face > 0
- && movement_state.current_watch_face == movement_state.next_watch_face) {
+ && !movement_state.watch_face_changed) {
movement_move_to_face(0);
}
event.event_type = EVENT_NONE;