]> git.earman.xyz Git - sensor-watch.git/commitdiff
use watch_face_changed property
authorjoeycastillo <joeycastillo@utexas.edu>
Wed, 12 Oct 2022 05:20:11 +0000 (00:20 -0500)
committerjoeycastillo <joeycastillo@utexas.edu>
Wed, 12 Oct 2022 05:20:11 +0000 (00:20 -0500)
movement/movement.c

index 9409d03720c068ca89b30f2b7fff59521227e545..8c58b202a5e9adf7305e099eac8bdc8a17ca082b 100644 (file)
@@ -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;