Prevent USB peripheral fault when restarting USB on WB32 MCUs (#18058)

Co-authored-by: Joy <chang.li@westberrytech.com>
This commit is contained in:
Joy Lee
2022-09-02 11:48:02 +08:00
committed by GitHub
parent 6b6cbf6038
commit b5a52b4cff
3 changed files with 10 additions and 0 deletions

View File

@@ -80,3 +80,7 @@ void __early_init(void) {
void boardInit(void) {
}
void restart_usb_driver(USBDriver *usbp) {
// Do nothing. Restarting the USB driver on these boards breaks it.
}