mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
loader: cleanup usb before jump
This commit is contained in:
parent
0e33357ee7
commit
792faea908
@ -174,6 +174,8 @@ int main(void)
|
|||||||
if (touch_read() != 0) {
|
if (touch_read() != 0) {
|
||||||
mainloop();
|
mainloop();
|
||||||
} else {
|
} else {
|
||||||
|
usb_stop();
|
||||||
|
usb_deinit();
|
||||||
check_and_jump();
|
check_and_jump();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user