1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

usb cdc: fix index of first interface in IAD

This error resulted in the HID interface being non
functional on windows platforms.
This commit is contained in:
Stacey Sheldon 2012-01-07 09:45:33 -05:00
parent 3bc45b0036
commit a86abcd140

View File

@ -61,7 +61,7 @@ const struct usb_board_config PIOS_USB_BOARD_Configuration = {
.iad = {
.bLength = sizeof(struct usb_interface_association_desc),
.bDescriptorType = USB_DESC_TYPE_IAD,
.bFirstInterface = 1,
.bFirstInterface = 0,
.bInterfaceCount = 2,
.bFunctionClass = 2, /* Communication */
.bFunctionSubClass = 2, /* Abstract Control Model */