1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +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();
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]

View File

@ -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()
}