Skip to content

Commit bd2e59a

Browse files
itarzeJoy
and
Joy
authored
Fixed WB32 MCU remote wakeup issue (#20863)
Co-authored-by: Joy <[email protected]>
1 parent 909054c commit bd2e59a

File tree

2 files changed

+2
-8
lines changed
  • platforms/chibios/boards

2 files changed

+2
-8
lines changed

platforms/chibios/boards/GENERIC_WB32_F3G71XX/board/board.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,11 @@ void __early_init(void) {
7373
wb32_clock_init();
7474
wb32_gpio_init();
7575
}
76+
7677
/**
7778
* @brief Board-specific initialization code.
7879
* @note You can add your board-specific code here.
7980
*/
8081
void boardInit(void) {
8182

8283
}
83-
84-
void restart_usb_driver(USBDriver *usbp) {
85-
// Do nothing. Restarting the USB driver on these boards breaks it.
86-
}

platforms/chibios/boards/GENERIC_WB32_FQ95XX/board/board.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,11 @@ void __early_init(void) {
7373
wb32_clock_init();
7474
wb32_gpio_init();
7575
}
76+
7677
/**
7778
* @brief Board-specific initialization code.
7879
* @note You can add your board-specific code here.
7980
*/
8081
void boardInit(void) {
8182

8283
}
83-
84-
void restart_usb_driver(USBDriver *usbp) {
85-
// Do nothing. Restarting the USB driver on these boards breaks it.
86-
}

0 commit comments

Comments
 (0)