mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-22 18:19:03 +00:00
bootloader: cleanup usb on firmware upload success before jumping to firmware (#68)
This commit is contained in:
parent
ebaeb52b62
commit
b922579173
@ -226,6 +226,8 @@ bool bootloader_loop(void)
|
||||
display_done(3); hal_delay(1000);
|
||||
display_done(2); hal_delay(1000);
|
||||
display_done(1); hal_delay(1000);
|
||||
usb_stop();
|
||||
usb_deinit();
|
||||
display_fade(BACKLIGHT_NORMAL, 0, 500);
|
||||
return true; // jump to firmware
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user