Add API support signature to the CDC and DFU class bootloaders, so that the applicati...
[pub/USBasp.git] / Demos / Device / ClassDriver / GenericHID / Descriptors.c
index a18c0aa..acc8034 100644 (file)
@@ -46,7 +46,7 @@
 const USB_Descriptor_HIDReport_Datatype_t PROGMEM GenericReport[] =
 {
        /* Use the HID class driver's standard Vendor HID report.
-        *  Vendor Usage Page: 1
+        *  Vendor Usage Page: 0
         *  Vendor Collection Usage: 1
         *  Vendor Report IN Usage: 2
         *  Vendor Report OUT Usage: 3
@@ -99,7 +99,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .ConfigurationNumber    = 1,
                        .ConfigurationStrIndex  = NO_DESCRIPTOR,
 
-                       .ConfigAttributes       = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+                       .ConfigAttributes       = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
 
                        .MaxPowerConsumption    = USB_CONFIG_POWER_MA(100)
                },