From 34bedc3787b7d9a929f9a65511f1405f884a23a6 Mon Sep 17 00:00:00 2001 From: a-chol Date: Sun, 22 Mar 2020 11:09:41 +0100 Subject: [PATCH] Update tmk_core/protocol/usb_descriptor.c Co-Authored-By: Ryan --- tmk_core/protocol/usb_descriptor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c index 1dbe1c0241..207a8ced61 100644 --- a/tmk_core/protocol/usb_descriptor.c +++ b/tmk_core/protocol/usb_descriptor.c @@ -279,9 +279,9 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM ConsoleReport[] = { #endif #ifdef JOYSTICK_ENABLE -#if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0 - #error Need at least one axis or button for joystick -#endif +# if JOYSTICK_AXES_COUNT == 0 && JOYSTICK_BUTTON_COUNT == 0 +# error Need at least one axis or button for joystick +# endif const USB_Descriptor_HIDReport_Datatype_t PROGMEM JoystickReport[] = { HID_RI_USAGE_PAGE(8, 0x01), // Generic Desktop HID_RI_USAGE(8, 0x04), // Joystick