X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d6edfe35c8a9490407e4a5e34f8e5108c6a260a3..18b0d408a9e68cbc1ce36da89d74a799d7fc31de:/Bootloaders/DFU/Descriptors.c diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c index 6fcdc4bce..2fed76869 100644 --- a/Bootloaders/DFU/Descriptors.c +++ b/Bootloaders/DFU/Descriptors.c @@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor = .ConfigurationNumber = 1, .ConfigurationStrIndex = NO_DESCRIPTOR, - .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED), + .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED, .MaxPowerConsumption = USB_CONFIG_POWER_MA(100) }, @@ -108,7 +108,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor = .Attributes = (ATTR_CAN_UPLOAD | ATTR_CAN_DOWNLOAD), - .DetachTimeout = 0x0000, + .DetachTimeout = 0x0000, .TransferSize = 0x0c00, .DFUSpecification = VERSION_BCD(01.01)