From c48c86d61f297eae5183dbe0151f708b2d2805d9 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 17 Oct 2023 13:05:00 +0200 Subject: [PATCH] fix(core): add missing display_refresh calls in TT UI [no changelog] --- core/embed/rust/src/ui/model_tt/bootloader/mod.rs | 4 ++++ core/embed/rust/src/ui/model_tt/layout.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/core/embed/rust/src/ui/model_tt/bootloader/mod.rs b/core/embed/rust/src/ui/model_tt/bootloader/mod.rs index 5e2cf0a9b..78faabdee 100644 --- a/core/embed/rust/src/ui/model_tt/bootloader/mod.rs +++ b/core/embed/rust/src/ui/model_tt/bootloader/mod.rs @@ -80,6 +80,7 @@ where fadeout(); display::sync(); frame.paint(); + display::refresh(); fadein(); loop { @@ -264,6 +265,8 @@ fn screen_progress( if initialize { fadein(); } + + display::refresh(); } #[no_mangle] @@ -340,6 +343,7 @@ extern "C" fn screen_boot_empty(fading: bool) { } else { display::set_backlight(BACKLIGHT_NORMAL); } + display::refresh(); } #[no_mangle] diff --git a/core/embed/rust/src/ui/model_tt/layout.rs b/core/embed/rust/src/ui/model_tt/layout.rs index 7af8beddb..0ef4e3a0c 100644 --- a/core/embed/rust/src/ui/model_tt/layout.rs +++ b/core/embed/rust/src/ui/model_tt/layout.rs @@ -1588,6 +1588,7 @@ extern "C" fn draw_welcome_screen() -> Obj { screen.place(constant::screen()); display::sync(); screen.paint(); + display::refresh(); display::set_backlight(theme::BACKLIGHT_NORMAL); Obj::const_none() }