From fd765363518bcb596acee5ae53a7bfef576bb531 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Fri, 5 Apr 2019 17:33:28 +0800 Subject: [PATCH] usb-dev: reboot to image 0 Since this is a failsafe bootloader, reboot to Image 0. Signed-off-by: Sean Cross --- sw/src/usb-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/src/usb-dev.c b/sw/src/usb-dev.c index d91dee3..34bcc87 100644 --- a/sw/src/usb-dev.c +++ b/sw/src/usb-dev.c @@ -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;