1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

loader: cleanup usb before jump

This commit is contained in:
Jan Pochyla 2017-04-06 18:34:17 +02:00 committed by Pavol Rusnak
parent 0e33357ee7
commit 792faea908

View File

@ -174,6 +174,8 @@ int main(void)
if (touch_read() != 0) {
mainloop();
} else {
usb_stop();
usb_deinit();
check_and_jump();
}