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:
parent
c2de5506bc
commit
c48c86d61f
@ -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]
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user