From b2d4ae9714166d559e6915e6c5f014ebe53b9f5b Mon Sep 17 00:00:00 2001 From: Iceman Date: Mon, 16 Oct 2017 16:57:15 +0200 Subject: [PATCH] wrong define used The set define under the case "STD_SET_CONFIGURATION" is not the same as here. The endpoint is configured as INTERUPT not ISOCHRONOUS --- common/usb_cdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 84aa2c06..e4c5fb57 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -611,7 +611,7 @@ void AT91F_CDC_Enumerate() { else if (wIndex == 2) pUdp->UDP_CSR[2] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_BULK_IN); else if (wIndex == 3) - pUdp->UDP_CSR[3] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_ISO_IN); + pUdp->UDP_CSR[3] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_INT_IN); AT91F_USB_SendZlp(pUdp); } else