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