aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/Incomplete/Sideshow/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2012-01-02 05:43:23 +0000
committerDean Camera <[email protected]>2012-01-02 05:43:23 +0000
commit3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d (patch)
tree1ba409d9581d92da9149e1a9ac6b9edbf6204b3c /Demos/Device/Incomplete/Sideshow/Descriptors.c
parent154d28e39f114c1e1af223ae6c37e34323e6be9d (diff)
downloadqmk_firmware-3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d.tar.gz
qmk_firmware-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/Incomplete/Sideshow/Descriptors.c')
-rw-r--r--Demos/Device/Incomplete/Sideshow/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Descriptors.c b/Demos/Device/Incomplete/Sideshow/Descriptors.c
index 33ddfaf633..8621593d5b 100644
--- a/Demos/Device/Incomplete/Sideshow/Descriptors.c
+++ b/Demos/Device/Incomplete/Sideshow/Descriptors.c
@@ -64,7 +64,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)
},