fix: set usb version to 2.1.0 for webusb
This commit is contained in:
@@ -364,7 +364,11 @@ const USB_Descriptor_Device_t PROGMEM DeviceDescriptor = {
|
|||||||
.Size = sizeof(USB_Descriptor_Device_t),
|
.Size = sizeof(USB_Descriptor_Device_t),
|
||||||
.Type = DTYPE_Device
|
.Type = DTYPE_Device
|
||||||
},
|
},
|
||||||
|
#if defined(WEBUSB_ENABLE) && !defined(STENO_ENABLE)
|
||||||
|
.USBSpecification = VERSION_BCD(2, 1, 0),
|
||||||
|
#else
|
||||||
.USBSpecification = VERSION_BCD(2, 0, 0),
|
.USBSpecification = VERSION_BCD(2, 0, 0),
|
||||||
|
#endif
|
||||||
|
|
||||||
#if VIRTSER_ENABLE
|
#if VIRTSER_ENABLE
|
||||||
.Class = USB_CSCP_IADDeviceClass,
|
.Class = USB_CSCP_IADDeviceClass,
|
||||||
|
|||||||
Reference in New Issue
Block a user