core: Add hook_usb_startup_wait_loop

This commit is contained in:
tmk 2019-05-08 11:44:56 +09:00
parent 00bba0fdb5
commit f3e498590c
4 changed files with 25 additions and 0 deletions

View file

@ -662,6 +662,7 @@ int main(void)
#else
USB_USBTask();
#endif
hook_usb_startup_wait_loop();
}
print("\nUSB configured.\n");
#endif
@ -739,3 +740,6 @@ void hook_usb_wakeup(void)
// Calling long task here can prevent USB state transition
}
__attribute__((weak))
void hook_usb_startup_wait_loop(void) {}