AMS: fix usb initialization in bootloader
Regression after 8b8b85433f
Change-Id: I86389be0b85c5c2ad8a32d7089a6a79a6b7c8708
This commit is contained in:
parent
e7550a4f6e
commit
2ec6fbc827
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,7 @@ void main(void)
|
|||
{
|
||||
#ifdef HAVE_BOOTLOADER_USB_MODE
|
||||
error(EDISK, ret, false);
|
||||
usb_start_monitoring();
|
||||
usb_mode();
|
||||
#else
|
||||
error(EDISK, ret, true);
|
||||
|
@ -152,6 +153,7 @@ void main(void)
|
|||
{
|
||||
#ifdef HAVE_BOOTLOADER_USB_MODE
|
||||
error(EBOOTFILE, ret, false);
|
||||
usb_start_monitoring();
|
||||
usb_mode();
|
||||
#else
|
||||
error(EBOOTFILE, ret, true);
|
||||
|
|
Loading…
Reference in a new issue