diff options
Diffstat (limited to 'nuttx/drivers/usbdev/composite_descriptors.c')
-rw-r--r-- | nuttx/drivers/usbdev/composite_descriptors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/usbdev/composite_descriptors.c b/nuttx/drivers/usbdev/composite_descriptors.c index 3fbc5d7d3..9ea6ef2d7 100644 --- a/nuttx/drivers/usbdev/composite_descriptors.c +++ b/nuttx/drivers/usbdev/composite_descriptors.c @@ -85,11 +85,11 @@ static const struct usb_devdesc_s g_devdesc = MSBYTE(0x0200) }, #ifdef CONFIG_COMPOSITE_IAD - USB_CLASS_MISC, /* class */ + USB_CLASS_MISC, /* classid */ 2, /* subclass */ 1, /* protocol */ #else - USB_CLASS_PER_INTERFACE, /* class */ + USB_CLASS_PER_INTERFACE, /* classid */ 0, /* subclass */ 0, /* protocol */ #endif @@ -138,7 +138,7 @@ static const struct usb_qualdesc_s g_qualdesc = LSBYTE(0x0200), MSBYTE(0x0200) }, - USB_CLASS_VENDOR_SPEC, /* class */ + USB_CLASS_VENDOR_SPEC, /* classid */ 0, /* subclass */ 0, /* protocol */ CONFIG_COMPOSITE_EP0MAXPACKET, /* mxpacketsize */ |