From 9d0a333449d52dc0d9cfca217cf9f0cc0f792744 Mon Sep 17 00:00:00 2001 From: Iceman Date: Mon, 16 Oct 2017 18:16:39 +0200 Subject: [PATCH] wrong define used (#421) 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 -- 2.39.2