fix usb resume bug on esp32sx

This commit is contained in:
paul356 2023-04-27 10:47:46 +08:00
parent 3cec3a0026
commit bb3c971e99

View File

@ -193,6 +193,7 @@ void dcd_init(uint8_t rhport)
USB_RXFLVIMSK_M |
USB_ERLYSUSPMSK_M |
USB_USBSUSPMSK_M |
USB_WKUPINTMSK_M |
USB_USBRSTMSK_M |
USB_ENUMDONEMSK_M |
USB_RESETDETMSK_M |
@ -829,6 +830,7 @@ static void _dcd_int_handler(void* arg)
USB_GOUTNAKEFF |
USB_ERLYSUSP_M |
USB_USBSUSP_M |
USB_WKUPINT_M |
USB_ISOOUTDROP_M |
USB_EOPF_M |
USB_EPMIS_M |