Actually call setupUSB. SetupUSB is intended to give variants a chance to do initialization before USB but after the system is "running," but it's never called.

This commit is contained in:
xC0000005 2018-05-03 07:29:09 -07:00
parent d2cf268b4b
commit 74ae30b0b9
1 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ int main(void)
#endif
#if defined(USB_BASE) || defined(USB_OTG_DEVICE_BASE)
setupUSB();
#ifdef MENU_USB_SERIAL
USBDeviceFS.beginCDC();
#elif MENU_USB_MASS_STORAGE
@ -64,12 +64,12 @@ int main(void)
#endif
#endif
setup();
for (;;) {
loop();
}
return 0;
}