|
|
@@ -98,9 +98,9 @@ static const struct usb_device_descriptor device_desc = {
|
|
|
.bLength = sizeof(struct usb_device_descriptor),
|
|
|
.bDescriptorType = USB_DTYPE_DEVICE,
|
|
|
.bcdUSB = VERSION_BCD(2,0,0),
|
|
|
- .bDeviceClass = USB_CLASS_PER_INTERFACE,
|
|
|
- .bDeviceSubClass = USB_SUBCLASS_NONE,
|
|
|
- .bDeviceProtocol = USB_PROTO_NONE,
|
|
|
+ .bDeviceClass = USB_CLASS_IAD,
|
|
|
+ .bDeviceSubClass = USB_SUBCLASS_IAD,
|
|
|
+ .bDeviceProtocol = USB_PROTO_IAD,
|
|
|
.bMaxPacketSize0 = CDC_EP0_SIZE,
|
|
|
.idVendor = 0x0483,
|
|
|
.idProduct = 0x5740,
|