aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/HIDReportData.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-11-23 00:04:16 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-11-23 00:04:16 +0000
commit09577fe5418c5237d8392f7acb2d0fdf47fadcdd (patch)
tree0f8c7994f58d6a003b6983d5887ca94d343033dd /LUFA/Drivers/USB/Class/Common/HIDReportData.h
parentb711b7d6a484204098eeccc03845b454bb1ad208 (diff)
downloadlufa-09577fe5418c5237d8392f7acb2d0fdf47fadcdd.tar.gz
lufa-09577fe5418c5237d8392f7acb2d0fdf47fadcdd.tar.bz2
lufa-09577fe5418c5237d8392f7acb2d0fdf47fadcdd.zip
Add XMEGA compile time tokens to the LUFAConfig.h code template.
Add additional compile time errors to the XMEGA and AVR8 architectures if multiple USE_*_DESCRIPTORS compile time tokens are enabled. Add support for the NO_INTERNAL_SERIAL compile time token on the XMEGA targets.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Common/HIDReportData.h')
-rw-r--r--LUFA/Drivers/USB/Class/Common/HIDReportData.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HIDReportData.h b/LUFA/Drivers/USB/Class/Common/HIDReportData.h
index 952f39332..2b96eeabc 100644
--- a/LUFA/Drivers/USB/Class/Common/HIDReportData.h
+++ b/LUFA/Drivers/USB/Class/Common/HIDReportData.h
@@ -69,8 +69,7 @@
#define _HID_RI_ENCODE_32(Data) _HID_RI_ENCODE_16(Data) _HID_RI_ENCODE_16(Data >> 16)
#define _HID_RI_ENCODE(DataBits, ...) _HID_RI_ENCODE_ ## DataBits(__VA_ARGS__)
- #define _HID_RI_ENTRY(Type, Tag, DataBits, ...) \
- (Type | Tag | HID_RI_DATA_BITS(DataBits)) _HID_RI_ENCODE(DataBits, (__VA_ARGS__))
+ #define _HID_RI_ENTRY(Type, Tag, DataBits, ...) (Type | Tag | HID_RI_DATA_BITS(DataBits)) _HID_RI_ENCODE(DataBits, (__VA_ARGS__))
#endif
/* Public Interface - May be used in end-application: */