diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 01:42:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 01:42:36 +0000 |
commit | 7cef08e10e0e7ef770c52dc180b25fdfa5cf758d (patch) | |
tree | a8a217392cd05f447fe0b684458e3e4a82bd3f7a /Projects/TempDataLogger/Descriptors.c | |
parent | d83cc9ac8049f651637dc2d9b8632f3c208bbdf6 (diff) | |
download | lufa-7cef08e10e0e7ef770c52dc180b25fdfa5cf758d.tar.gz lufa-7cef08e10e0e7ef770c52dc180b25fdfa5cf758d.tar.bz2 lufa-7cef08e10e0e7ef770c52dc180b25fdfa5cf758d.zip |
Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
Diffstat (limited to 'Projects/TempDataLogger/Descriptors.c')
-rw-r--r-- | Projects/TempDataLogger/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/TempDataLogger/Descriptors.c b/Projects/TempDataLogger/Descriptors.c index 8ca6b6e27..00a4d70fe 100644 --- a/Projects/TempDataLogger/Descriptors.c +++ b/Projects/TempDataLogger/Descriptors.c @@ -119,7 +119,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .ConfigurationNumber = 1, .ConfigurationStrIndex = NO_DESCRIPTOR, - .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED, + .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED), .MaxPowerConsumption = USB_CONFIG_POWER_MA(100) }, |