diff options
author | Drashna Jaelre <drashna@live.com> | 2023-08-26 19:52:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-27 03:52:12 +0100 |
commit | 25331be3164ca609ebecbfcc727ce904e3676594 (patch) | |
tree | cd82b1dc06085a977c1ccb9a6c6ba5752a037bc7 /platforms/chibios/boards/IC_TEENSY_3_1 | |
parent | 736451558e3c66d10838625a30c904cfa30b170c (diff) |
Revert changes to ChibiOS Suspend Code (#21830)
* Partially revert #19780
* Finish
* Get teensy 3.5/3.6 board files too
* fix lint issue
* Revert "[Bug] Restore usb suspend wakeup delay (#21676)"
This reverts commit e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30.
* Apply suggestions from code review
Co-authored-by: Joel Challis <git@zvecr.com>
---------
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'platforms/chibios/boards/IC_TEENSY_3_1')
-rw-r--r-- | platforms/chibios/boards/IC_TEENSY_3_1/board/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/chibios/boards/IC_TEENSY_3_1/board/board.c b/platforms/chibios/boards/IC_TEENSY_3_1/board/board.c index 36ae8051ee..189d90952d 100644 --- a/platforms/chibios/boards/IC_TEENSY_3_1/board/board.c +++ b/platforms/chibios/boards/IC_TEENSY_3_1/board/board.c @@ -144,3 +144,8 @@ void __early_init(void) { * @todo Add your board-specific code, if any. */ void boardInit(void) {} + + +void restart_usb_driver(USBDriver *usbp) { + // Do nothing. Restarting the USB driver on these boards breaks it. +} |