|
|
@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|
|
|
.ConfigurationNumber = 1,
|
|
|
|
.ConfigurationNumber = 1,
|
|
|
|
.ConfigurationStrIndex = NO_DESCRIPTOR,
|
|
|
|
.ConfigurationStrIndex = NO_DESCRIPTOR,
|
|
|
|
|
|
|
|
|
|
|
|
.ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
|
|
|
|
.ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
|
|
|
|
|
|
|
|
|
|
|
|
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
|
|
|
|
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -96,8 +96,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|
|
|
.TotalEndpoints = 2,
|
|
|
|
.TotalEndpoints = 2,
|
|
|
|
|
|
|
|
|
|
|
|
.Class = USB_CSCP_VendorSpecificClass,
|
|
|
|
.Class = USB_CSCP_VendorSpecificClass,
|
|
|
|
.SubClass = 0x00,
|
|
|
|
.SubClass = USB_CSCP_NoDeviceSubclass,
|
|
|
|
.Protocol = 0x00,
|
|
|
|
.Protocol = USB_CSCP_NoDeviceProtocol,
|
|
|
|
|
|
|
|
|
|
|
|
.InterfaceStrIndex = NO_DESCRIPTOR
|
|
|
|
.InterfaceStrIndex = NO_DESCRIPTOR
|
|
|
|
},
|
|
|
|
},
|
|
|
|