aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-07-24 14:40:52 +0200
committerCristian Maglie <c.maglie@bug.st>2014-07-24 14:40:52 +0200
commitb06b62d2f73a56da01a14ff3c445c1363e9162e9 (patch)
tree05b825f8f9ad9ff062829f6dc315fee3b72c9004 /cores/arduino
parentc9329f580a6b56df4cca738ba99c14634a62f7d0 (diff)
parent710bd1fa2e43f06d644e371a2e71616f56bf4e50 (diff)
Merge pull request #2206 from amulya349/master
Fix of a bug #2199
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/HID.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index ac63608..553b746 100644
--- a/cores/arduino/HID.cpp
+++ b/cores/arduino/HID.cpp
@@ -106,7 +106,7 @@ const u8 _hidReportDescriptor[] = {
0x81, 0x00, // INPUT (Data,Ary,Abs)
0xc0, // END_COLLECTION
-#if RAWHID_ENABLED
+#ifdef RAWHID_ENABLED
// RAW HID
0x06, LSB(RAWHID_USAGE_PAGE), MSB(RAWHID_USAGE_PAGE), // 30
0x0A, LSB(RAWHID_USAGE), MSB(RAWHID_USAGE),
@@ -517,4 +517,4 @@ size_t Keyboard_::write(uint8_t c)
#endif
-#endif /* if defined(USBCON) */ \ No newline at end of file
+#endif /* if defined(USBCON) */