{
Header: {Size: sizeof(USB_Descriptor_Device_t), Type: DTYPE_Device},
- USBSpecification: VERSION_BCD(02.00),
+ USBSpecification: VERSION_BCD(01.10),
Class: 0x00,
SubClass: 0x00,
Protocol: 0x00,
VendorID: 0x03EB,
ProductID: 0x2040,
- ReleaseNumber: 0x0001,
+ ReleaseNumber: VERSION_BCD(00.01),
ManufacturerStrIndex: 0x01,
ProductStrIndex: 0x02,
const uint8_t wIndex,
const void** const DescriptorAddress)
{
- void* Address = NULL;
- uint16_t Size = NO_DESCRIPTOR;
+ const void* Address = NULL;
+ uint16_t Size = NO_DESCRIPTOR;
/* Check if a device level OS feature descriptor is being requested */
if (wValue == 0x0000)
/* Only the Extended Device Compatibility descriptor is supported */
if (wIndex == EXTENDED_COMPAT_ID_DESCRIPTOR)
{
- Address = (void*)&DevCompatIDs;
+ Address = &DevCompatIDs;
Size = sizeof(USB_OSCompatibleIDDescriptor_t);
}
}