mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Update the bInterfaceProtocol member of the descriptors to allow comms with Linux.
This commit is contained in:
parent
7d034a24be
commit
8a795bd375
|
@ -491,7 +491,7 @@ const char pxConfigDescriptor[] = {
|
||||||
0x01, /* bNumEndpoints */
|
0x01, /* bNumEndpoints */
|
||||||
0x03, /* bInterfaceClass: HID code */
|
0x03, /* bInterfaceClass: HID code */
|
||||||
0x00, /* bInterfaceSubclass */
|
0x00, /* bInterfaceSubclass */
|
||||||
0x00, /* bInterfaceProtocol */
|
0x01, /* bInterfaceProtocol */
|
||||||
usbINTERFACE_STRING,/* iInterface */
|
usbINTERFACE_STRING,/* iInterface */
|
||||||
|
|
||||||
/* HID Descriptor */
|
/* HID Descriptor */
|
||||||
|
|
|
@ -148,7 +148,7 @@ const char pxConfigDescriptor[] = {
|
||||||
0x01, /* bNumEndpoints */
|
0x01, /* bNumEndpoints */
|
||||||
0x02, /* bInterfaceClass: Comm Interface Class */
|
0x02, /* bInterfaceClass: Comm Interface Class */
|
||||||
0x02, /* bInterfaceSubclass: Abstract Control Model*/
|
0x02, /* bInterfaceSubclass: Abstract Control Model*/
|
||||||
0x00, /* bInterfaceProtocol */
|
0x01, /* bInterfaceProtocol */
|
||||||
usbINTERFACE_STRING,/* iInterface */
|
usbINTERFACE_STRING,/* iInterface */
|
||||||
|
|
||||||
/* Header Functional Descriptor */
|
/* Header Functional Descriptor */
|
||||||
|
@ -196,7 +196,7 @@ const char pxConfigDescriptor[] = {
|
||||||
0x02, /* bNumEndPoints */
|
0x02, /* bNumEndPoints */
|
||||||
0x0A, /* bInterfaceClass */
|
0x0A, /* bInterfaceClass */
|
||||||
0x00, /* bInterfaceSubclass */
|
0x00, /* bInterfaceSubclass */
|
||||||
0x00, /* bInterfaceProtocol */
|
0x01, /* bInterfaceProtocol */
|
||||||
0x00, /* iInterface */
|
0x00, /* iInterface */
|
||||||
|
|
||||||
/* CDC Data - Endpoint 1 descriptor */
|
/* CDC Data - Endpoint 1 descriptor */
|
||||||
|
|
Loading…
Reference in a new issue