Use the HID_CONTROLS pre-processor symbol consistently.

This commit is contained in:
Michael Banther
2019-10-14 16:42:34 +01:00
parent 1808d7affa
commit 9f98e13342

View File

@@ -60,7 +60,7 @@
extern void device_reboot(void); extern void device_reboot(void);
#endif #endif
#if HID_CONTROLS #if( 0 < HID_CONTROLS )
#include "xua_hid.h" #include "xua_hid.h"
#endif #endif
@@ -993,7 +993,7 @@ void XUA_Endpoint0_lite_loop(XUD_Result_t result, USB_SetupPacket_t sp, chanend
} }
} }
#endif #endif
#if HID_CONTROLS #if( 0 < HID_CONTROLS )
if (interfaceNum == INTERFACE_NUMBER_HID) if (interfaceNum == INTERFACE_NUMBER_HID)
{ {
result = HidInterfaceClassRequests(ep0_out, ep0_in, &sp); result = HidInterfaceClassRequests(ep0_out, ep0_in, &sp);