diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-01 12:35:48 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-01 12:35:48 +0000 |
commit | 4d246a82cbed77cea849ddcbc88d32019665edae (patch) | |
tree | 0c26eb86934f7e8fc9a983d8d4c0866828e1efcf /LUFA/Drivers/USB/HighLevel | |
parent | a4ebf4e92061bf1eec9224e64bc823ca7bedada4 (diff) | |
download | lufa-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 'LUFA/Drivers/USB/HighLevel')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index 008bbb887..404a44f2c 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -124,14 +124,14 @@ * descriptor's ConfigAttributes value to indicate that the specified configuration can draw its power
* from the device's own power source.
*/
- #define USB_CONFIG_ATTR_SELFPOWERED 0xC0
+ #define USB_CONFIG_ATTR_SELFPOWERED 0x40
/** Can be masked with other configuration descriptor attributes for a \ref USB_Descriptor_Configuration_Header_t
* descriptor's ConfigAttributes value to indicate that the specified configuration supports the
* remote wakeup feature of the USB standard, allowing a suspended USB device to wake up the host upon
* request.
*/
- #define USB_CONFIG_ATTR_REMOTEWAKEUP 0xA0
+ #define USB_CONFIG_ATTR_REMOTEWAKEUP 0x20
/** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's
* Attributes value to indicate that the specified endpoint is not synchronized.
|