Skip to content

Commit da2ddbd

Browse files
committed
fix(core/bootloader): add fade-out before jumping to FW if backlight will be reset
[no changelog]
1 parent 63f38ab commit da2ddbd

File tree

1 file changed

+4
-0
lines changed
  • core/embed/projects/bootloader

1 file changed

+4
-0
lines changed

core/embed/projects/bootloader/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ void real_jump_to_firmware(void) {
377377
ui_screen_boot_stage_1(false);
378378
}
379379

380+
if (DISPLAY_JUMP_BEHAVIOR == DISPLAY_RESET_CONTENT) {
381+
display_fade(display_get_backlight(), 0, 200);
382+
}
383+
380384
drivers_deinit();
381385

382386
system_deinit();

0 commit comments

Comments
 (0)