Fix ESP32-SX resume

The interrupt handler pipes through the resume event but the
interrupt wasn't enabled in the first place.
This commit is contained in:
Scott Shawcroft 2024-08-29 14:04:49 -07:00
parent ac1fd32666
commit 6890975f80
No known key found for this signature in database

View File

@ -207,6 +207,7 @@ void dcd_init(uint8_t rhport)
USB_USBRSTMSK_M |
USB_ENUMDONEMSK_M |
USB_RESETDETMSK_M |
USB_WKUPINT_M |
USB_DISCONNINTMSK_M; // host most only
dcd_connect(rhport);