]> git.earman.xyz Git - sensor-watch.git/commitdiff
Update timeout & low energy behaviour
authorPrimmR <primmr@icloud.com>
Thu, 25 Jul 2024 14:31:25 +0000 (15:31 +0100)
committerPrimmR <primmr@icloud.com>
Thu, 25 Jul 2024 14:31:25 +0000 (15:31 +0100)
movement/watch_faces/complication/periodic_face.c

index 85753ffbc54e55687d0d84942f1b5c75e6ec415c..69ae4ade329710f235501ec422211427bac63741 100644 (file)
@@ -477,13 +477,16 @@ bool periodic_face_loop(movement_event_t event, movement_settings_t *settings, v
         _ts_ticks = 2;
         break;
     case EVENT_TIMEOUT:
-        break;
-    case EVENT_LOW_ENERGY_UPDATE:
-        // Display title in LE mode.
+        // Display title after timeout
         if (state->mode == SCREEN_TITLE) break;
         state->mode = SCREEN_TITLE;
         _display_screen(state, false);
         break;
+    case EVENT_LOW_ENERGY_UPDATE:
+        // Display static title and tick animation during LE
+        watch_display_string("Pd   Table", 0);
+        watch_start_tick_animation(500);
+        break;
     default:
         return movement_default_loop_handler(event, settings);
     }