From 865594d132f388f9b6eed6597ee40e6a1daba602 Mon Sep 17 00:00:00 2001 From: Amulya Kumar Sahoo Date: Wed, 23 Jul 2014 01:03:44 +0530 Subject: [PATCH] Fix of a bug --- hardware/arduino/cores/arduino/HID.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/arduino/cores/arduino/HID.cpp b/hardware/arduino/cores/arduino/HID.cpp index ac6360844..553b7463c 100644 --- a/hardware/arduino/cores/arduino/HID.cpp +++ b/hardware/arduino/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) */