diff options
| author | Ha Thach <[email protected]> | 2024-08-30 09:50:35 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-30 09:50:35 +0700 |
| commit | 64e62bad0d4c4a3d84003e02962fc0f227de8792 (patch) | |
| tree | ab155d913e9b324b540c7038080f05922321347d /src | |
| parent | ed0d58749d5a193248f504e06695e4122a24d35d (diff) | |
| parent | 6890975f80bb541ba4f229cc1c3bc165745e21ac (diff) | |
Merge pull request #2784 from tannewt/fix_esp32_sx_resume
Fix ESP32-SX resume
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/espressif/esp32sx/dcd_esp32sx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/espressif/esp32sx/dcd_esp32sx.c b/src/portable/espressif/esp32sx/dcd_esp32sx.c index f912bef89..61911ab4c 100644 --- a/src/portable/espressif/esp32sx/dcd_esp32sx.c +++ b/src/portable/espressif/esp32sx/dcd_esp32sx.c @@ -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); |
