Fixed HID device class driver still using PrevReportINBuffer for GetReport control...
[pub/USBasp.git] / Projects / TempDataLogger / Descriptors.c
index 8ca6b6e..00a4d70 100644 (file)
@@ -119,7 +119,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .ConfigurationNumber    = 1,
                        .ConfigurationStrIndex  = NO_DESCRIPTOR,
                                
-                       .ConfigAttributes       = USB_CONFIG_ATTR_BUSPOWERED,
+                       .ConfigAttributes       = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
                        
                        .MaxPowerConsumption    = USB_CONFIG_POWER_MA(100)
                },