usb-dev: reboot to image 0
Since this is a failsafe bootloader, reboot to Image 0. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
eaa0d63ccb
commit
fd76536351
@ -186,7 +186,7 @@ void usb_setup(struct usb_device *dev, const struct usb_setup_request *setup)
|
||||
usb_disconnect();
|
||||
|
||||
// Issue a reboot
|
||||
reboot_to_image(1);
|
||||
reboot_to_image(0);
|
||||
while (1)
|
||||
;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user