1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +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); hal_delay(1000);
usb_stop(); usb_stop();
usb_deinit(); usb_deinit();
ui_screen_boot_empty(true);
return CONTINUE_TO_FIRMWARE; return CONTINUE_TO_FIRMWARE;
} }
break; break;
@ -715,6 +714,7 @@ int bootloader_main(void) {
#ifdef STM32U5 #ifdef STM32U5
firmware_jump_fn = jump_to_fw_through_reset; firmware_jump_fn = jump_to_fw_through_reset;
#else #else
ui_screen_boot_empty(true);
firmware_jump_fn = real_jump_to_firmware; firmware_jump_fn = real_jump_to_firmware;
#endif #endif
break; break;