1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-14 21:08:46 +00:00

fix(core): add missing display_refresh calls in TT UI

[no changelog]
This commit is contained in:
tychovrahe 2023-10-17 13:05:00 +02:00 committed by TychoVrahe
parent c2de5506bc
commit c48c86d61f
2 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,7 @@ where
fadeout(); fadeout();
display::sync(); display::sync();
frame.paint(); frame.paint();
display::refresh();
fadein(); fadein();
loop { loop {
@ -264,6 +265,8 @@ fn screen_progress(
if initialize { if initialize {
fadein(); fadein();
} }
display::refresh();
} }
#[no_mangle] #[no_mangle]
@ -340,6 +343,7 @@ extern "C" fn screen_boot_empty(fading: bool) {
} else { } else {
display::set_backlight(BACKLIGHT_NORMAL); display::set_backlight(BACKLIGHT_NORMAL);
} }
display::refresh();
} }
#[no_mangle] #[no_mangle]

View File

@ -1588,6 +1588,7 @@ extern "C" fn draw_welcome_screen() -> Obj {
screen.place(constant::screen()); screen.place(constant::screen());
display::sync(); display::sync();
screen.paint(); screen.paint();
display::refresh();
display::set_backlight(theme::BACKLIGHT_NORMAL); display::set_backlight(theme::BACKLIGHT_NORMAL);
Obj::const_none() Obj::const_none()
} }