aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Keyboard
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-01-02 05:43:23 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-01-02 05:43:23 +0000
commit3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d (patch)
tree1ba409d9581d92da9149e1a9ac6b9edbf6204b3c /Demos/Device/ClassDriver/Keyboard
parent154d28e39f114c1e1af223ae6c37e34323e6be9d (diff)
downloadlufa-3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d.tar.gz
lufa-3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d.tar.bz2
lufa-3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d.zip
USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as this was misnamed (thanks to NXP Semiconductors).
Diffstat (limited to 'Demos/Device/ClassDriver/Keyboard')
-rw-r--r--Demos/Device/ClassDriver/Keyboard/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/Keyboard/Descriptors.c b/Demos/Device/ClassDriver/Keyboard/Descriptors.c
index 1874a171a..be9ba428b 100644
--- a/Demos/Device/ClassDriver/Keyboard/Descriptors.c
+++ b/Demos/Device/ClassDriver/Keyboard/Descriptors.c
@@ -95,7 +95,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},