From: richardbarry Date: Wed, 25 Jun 2008 07:15:35 +0000 (+0000) Subject: Update the bInterfaceProtocol member of the descriptors to allow comms with Linux. X-Git-Tag: V5.0.3~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79beb840887605a535eb6fb62718c310f5621eaf;p=freertos Update the bInterfaceProtocol member of the descriptors to allow comms with Linux. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@400 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c b/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c index 5ee982e9a..06b4b5357 100644 --- a/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c +++ b/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c @@ -491,7 +491,7 @@ const char pxConfigDescriptor[] = { 0x01, /* bNumEndpoints */ 0x03, /* bInterfaceClass: HID code */ 0x00, /* bInterfaceSubclass */ - 0x00, /* bInterfaceProtocol */ + 0x01, /* bInterfaceProtocol */ usbINTERFACE_STRING,/* iInterface */ /* HID Descriptor */ diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h index b79ddc075..2a0f7cf50 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h @@ -148,7 +148,7 @@ const char pxConfigDescriptor[] = { 0x01, /* bNumEndpoints */ 0x02, /* bInterfaceClass: Comm Interface Class */ 0x02, /* bInterfaceSubclass: Abstract Control Model*/ - 0x00, /* bInterfaceProtocol */ + 0x01, /* bInterfaceProtocol */ usbINTERFACE_STRING,/* iInterface */ /* Header Functional Descriptor */ @@ -196,7 +196,7 @@ const char pxConfigDescriptor[] = { 0x02, /* bNumEndPoints */ 0x0A, /* bInterfaceClass */ 0x00, /* bInterfaceSubclass */ - 0x00, /* bInterfaceProtocol */ + 0x01, /* bInterfaceProtocol */ 0x00, /* iInterface */ /* CDC Data - Endpoint 1 descriptor */