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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user