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:
parent
d2cf268b4b
commit
1b29599a93
|
@ -56,7 +56,7 @@ int main(void)
|
|||
#endif
|
||||
|
||||
#if defined(USB_BASE) || defined(USB_OTG_DEVICE_BASE)
|
||||
|
||||
void 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue