aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-01 12:35:48 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-01 12:35:48 +0000
commit4d246a82cbed77cea849ddcbc88d32019665edae (patch)
tree0c26eb86934f7e8fc9a983d8d4c0866828e1efcf /Projects
parenta4ebf4e92061bf1eec9224e64bc823ca7bedada4 (diff)
downloadlufa-4d246a82cbed77cea849ddcbc88d32019665edae.tar.gz
lufa-4d246a82cbed77cea849ddcbc88d32019665edae.tar.bz2
lufa-4d246a82cbed77cea849ddcbc88d32019665edae.zip
Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen).
Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered. Copy over file level documentation of the peripheral drivers to the module level documentation.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP-MKII/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Descriptors.c b/Projects/AVRISP-MKII/Descriptors.c
index 6ab6092a6..bdc198ad0 100644
--- a/Projects/AVRISP-MKII/Descriptors.c
+++ b/Projects/AVRISP-MKII/Descriptors.c
@@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_SELFPOWERED,
+ .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},