Merge pull request #2784 from tannewt/fix_esp32_sx_resume
Fix ESP32-SX resume
This commit is contained in:
@@ -207,6 +207,7 @@ void dcd_init(uint8_t rhport)
|
|||||||
USB_USBRSTMSK_M |
|
USB_USBRSTMSK_M |
|
||||||
USB_ENUMDONEMSK_M |
|
USB_ENUMDONEMSK_M |
|
||||||
USB_RESETDETMSK_M |
|
USB_RESETDETMSK_M |
|
||||||
|
USB_WKUPINT_M |
|
||||||
USB_DISCONNINTMSK_M; // host most only
|
USB_DISCONNINTMSK_M; // host most only
|
||||||
|
|
||||||
dcd_connect(rhport);
|
dcd_connect(rhport);
|
||||||
|
Reference in New Issue
Block a user