Update timeout & low energy behaviour

This commit is contained in:
PrimmR 2024-07-25 15:31:25 +01:00
parent 6e26c01de0
commit a9e6b82f00

View 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);
}