Skip to content

Commit

Permalink
Fix ESP32-SX resume
Browse files Browse the repository at this point in the history
The interrupt handler pipes through the resume event but the
interrupt wasn't enabled in the first place.
  • Loading branch information
tannewt committed Aug 29, 2024
1 parent ac1fd32 commit 6890975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/portable/espressif/esp32sx/dcd_esp32sx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6890975

Please sign in to comment.