From 2831ac0885699eac274333dfea509368af190365 Mon Sep 17 00:00:00 2001 From: GlassOnTin Date: Tue, 7 Apr 2026 00:21:53 +0100 Subject: [PATCH] Reset to watch face on display blank timeout Navigate tileview to the watch face tile before blanking so the time is always visible when the display wakes. Without this, the display would wake to whatever screen was last active. --- Display.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Display.h b/Display.h index 9156434..9cf92dc 100644 --- a/Display.h +++ b/Display.h @@ -62,6 +62,10 @@ if (display_blanking_enabled && !display_blanked) { if (millis() - last_unblank_event > display_blanking_timeout) { + // Return to watch face before blanking so it's ready on wake + if (gui_tileview && gui_tile_watch) { + lv_tileview_set_tile(gui_tileview, gui_tile_watch, LV_ANIM_OFF); + } co5300_set_brightness(0); co5300_sleep(); xl9555_set(EXPANDS_DISP_EN, false);