Skip to content

Commit b06b62d

Browse files
committed
Merge pull request #2206 from amulya349/master
Fix of a bug #2199
2 parents c9329f5 + 710bd1f commit b06b62d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/HID.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const u8 _hidReportDescriptor[] = {
106106
0x81, 0x00, // INPUT (Data,Ary,Abs)
107107
0xc0, // END_COLLECTION
108108

109-
#if RAWHID_ENABLED
109+
#ifdef RAWHID_ENABLED
110110
// RAW HID
111111
0x06, LSB(RAWHID_USAGE_PAGE), MSB(RAWHID_USAGE_PAGE), // 30
112112
0x0A, LSB(RAWHID_USAGE), MSB(RAWHID_USAGE),
@@ -517,4 +517,4 @@ size_t Keyboard_::write(uint8_t c)
517517

518518
#endif
519519

520-
#endif /* if defined(USBCON) */
520+
#endif /* if defined(USBCON) */

0 commit comments

Comments
 (0)