]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
wrong define used (#421)
authorIceman <iceman@iuse.se>
Mon, 16 Oct 2017 16:16:39 +0000 (18:16 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Mon, 16 Oct 2017 16:16:39 +0000 (18:16 +0200)
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

index 84aa2c06e6dbea6639e3d1606e68a7a0288dd424..e4c5fb5712527a99f85b51c17fe1befe92065d3f 100644 (file)
@@ -611,7 +611,7 @@ void AT91F_CDC_Enumerate() {
                        else if (wIndex == 2)\r
                                pUdp->UDP_CSR[2] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_BULK_IN);\r
                        else if (wIndex == 3)\r
                        else if (wIndex == 2)\r
                                pUdp->UDP_CSR[2] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_BULK_IN);\r
                        else if (wIndex == 3)\r
-                               pUdp->UDP_CSR[3] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_ISO_IN);\r
+                               pUdp->UDP_CSR[3] = (AT91C_UDP_EPEDS | AT91C_UDP_EPTYPE_INT_IN);\r
                        AT91F_USB_SendZlp(pUdp);\r
                }\r
                else\r
                        AT91F_USB_SendZlp(pUdp);\r
                }\r
                else\r
Impressum, Datenschutz