]> git.earman.xyz Git - sensor-watch.git/commitdiff
Adjust probability watch face timeout/LE behavior (#72)
authorSpencer Bywater <spencer.bywater@gmail.com>
Sun, 22 May 2022 23:42:37 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Sun, 22 May 2022 23:42:37 +0000 (19:42 -0400)
Display SLEEP instead of timing out

movement/watch_faces/complication/probability_face.c

index db193fb12a157df0ead3105678e9a9672a3a29e0..7b056b33f1cd4d2ee7f822f6375bafe2dc6011c1 100644 (file)
@@ -166,8 +166,8 @@ bool probability_face_loop(movement_event_t event, movement_settings_t *settings
             // Dice rolling animation begins on next tick and new roll will be displayed on completion
             movement_request_tick_frequency(PROBABILITY_ANIMATION_TICK_FREQUENCY);
             break;
-        case EVENT_TIMEOUT:
-            movement_move_to_face(0);
+        case EVENT_LOW_ENERGY_UPDATE:
+            watch_display_string("SLEEP ", 4);
             break;
         default:
             break;