1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00

fix(core): fix bootloader jump to firmware through reset UI

[no changelog]
This commit is contained in:
tychovrahe 2023-12-19 14:20:58 +01:00 committed by TychoVrahe
parent 66583f2ebf
commit 5c7726126f

View File

@ -216,7 +216,6 @@ static usb_result_t bootloader_usb_loop(const vendor_header *const vhdr,
hal_delay(1000);
usb_stop();
usb_deinit();
ui_screen_boot_empty(true);
return CONTINUE_TO_FIRMWARE;
}
break;
@ -715,6 +714,7 @@ int bootloader_main(void) {
#ifdef STM32U5
firmware_jump_fn = jump_to_fw_through_reset;
#else
ui_screen_boot_empty(true);
firmware_jump_fn = real_jump_to_firmware;
#endif
break;