core: Add hook_usb_startup_wait_loop
This commit is contained in:
parent
00bba0fdb5
commit
f3e498590c
4 changed files with 25 additions and 0 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue