Remove serial driver use from the AVRISP project now that it is no longer needed.
[pub/USBasp.git] / Bootloaders / DFU / Descriptors.c
index 6fcdc4b..2fed768 100644 (file)
@@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
                        .ConfigurationNumber      = 1,\r
                        .ConfigurationStrIndex    = NO_DESCRIPTOR,\r
                                \r
                        .ConfigurationNumber      = 1,\r
                        .ConfigurationStrIndex    = NO_DESCRIPTOR,\r
                                \r
-                       .ConfigAttributes         = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),\r
+                       .ConfigAttributes         = USB_CONFIG_ATTR_BUSPOWERED,\r
                        \r
                        .MaxPowerConsumption      = USB_CONFIG_POWER_MA(100)\r
                },\r
                        \r
                        .MaxPowerConsumption      = USB_CONFIG_POWER_MA(100)\r
                },\r
@@ -108,7 +108,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
                        \r
                        .Attributes             = (ATTR_CAN_UPLOAD | ATTR_CAN_DOWNLOAD),\r
 \r
                        \r
                        .Attributes             = (ATTR_CAN_UPLOAD | ATTR_CAN_DOWNLOAD),\r
 \r
-                       .DetachTimeout         = 0x0000,\r
+                       .DetachTimeout          = 0x0000,\r
                        .TransferSize           = 0x0c00,\r
                \r
                        .DFUSpecification       = VERSION_BCD(01.01)\r
                        .TransferSize           = 0x0c00,\r
                \r
                        .DFUSpecification       = VERSION_BCD(01.01)\r