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
1 changed files with 2 additions and 0 deletions

View File

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