]> git.sur5r.net Git - freertos/commitdiff
Update the bInterfaceProtocol member of the descriptors to allow comms with Linux.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 25 Jun 2008 07:15:35 +0000 (07:15 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 25 Jun 2008 07:15:35 +0000 (07:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@400 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h

index 5ee982e9aa1e31f5a40e0f870b85feec25388402..06b4b535799a8fedcee6bb1c41a5e0b8436740f3 100644 (file)
@@ -491,7 +491,7 @@ const char pxConfigDescriptor[] = {
        0x01,                   /* bNumEndpoints                                                        */\r
        0x03,                   /* bInterfaceClass: HID code                            */\r
        0x00,                   /* bInterfaceSubclass                                           */\r
-       0x00,                   /* bInterfaceProtocol                                           */\r
+       0x01,                   /* bInterfaceProtocol                                           */\r
        usbINTERFACE_STRING,/* iInterface                                                       */\r
 \r
        /* HID Descriptor */\r
index b79ddc07571bc8416c53c5a65debcae34d3174cc..2a0f7cf50006ff2f5df6cb349c8425ce50f87fe2 100644 (file)
@@ -148,7 +148,7 @@ const char pxConfigDescriptor[] = {
        0x01,                           /* bNumEndpoints                                                */\r
        0x02,                           /* bInterfaceClass: Comm Interface Class */\r
        0x02,                           /* bInterfaceSubclass: Abstract Control Model*/\r
-       0x00,                           /* bInterfaceProtocol                                   */\r
+       0x01,                           /* bInterfaceProtocol                                   */\r
        usbINTERFACE_STRING,/* iInterface                                                       */\r
 \r
        /* Header Functional Descriptor                                                         */\r
@@ -196,7 +196,7 @@ const char pxConfigDescriptor[] = {
        0x02,                           /* bNumEndPoints                                                */\r
        0x0A,                           /* bInterfaceClass                                              */\r
        0x00,                           /* bInterfaceSubclass                                   */\r
-       0x00,                           /* bInterfaceProtocol                                   */\r
+       0x01,                           /* bInterfaceProtocol                                   */\r
        0x00,                           /* iInterface                                                   */\r
 \r
        /* CDC Data - Endpoint 1 descriptor */\r