From: Iceman Date: Mon, 16 Oct 2017 16:16:39 +0000 (+0200) Subject: wrong define used (#421) X-Git-Tag: v3.1.0~159 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9d0a333449d52dc0d9cfca217cf9f0cc0f792744 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 --- 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