projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove serial driver use from the AVRISP project now that it is no longer needed.
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
Descriptors.c
diff --git
a/Bootloaders/DFU/Descriptors.c
b/Bootloaders/DFU/Descriptors.c
index
6fcdc4b
..
2fed768
100644
(file)
--- a/
Bootloaders/DFU/Descriptors.c
+++ b/
Bootloaders/DFU/Descriptors.c
@@
-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