diff options
| author | Scott Shawcroft <[email protected]> | 2024-08-29 14:04:49 -0700 |
|---|---|---|
| committer | Scott Shawcroft <[email protected]> | 2024-08-29 14:04:49 -0700 |
| commit | 6890975f80bb541ba4f229cc1c3bc165745e21ac (patch) | |
| tree | 47faf8c30edefe4f7665fd8db6835e4eb0c700da /src | |
| parent | ac1fd3266644a2d87e38ef3e353ed9f60a618d50 (diff) | |
Fix ESP32-SX resume
The interrupt handler pipes through the resume event but the
interrupt wasn't enabled in the first place.
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); |
