Merge pull request #2784 from tannewt/fix_esp32_sx_resume

Fix ESP32-SX resume
This commit is contained in:
Ha Thach 2024-08-30 09:50:35 +07:00 committed by GitHub
commit 64e62bad0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);