From: tmk Date: Sat, 19 Jul 2014 15:25:06 +0000 (+0900) Subject: Fix NKRO code when NKRO is disable X-Git-Url: https://git.gir.st/tmk_keyboard.git/commitdiff_plain/32997200f7f316dfce9242bf929264298677a704 Fix NKRO code when NKRO is disable --- diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c index d60aecc3..16a602df 100644 --- a/protocol/lufa/lufa.c +++ b/protocol/lufa/lufa.c @@ -272,7 +272,9 @@ void EVENT_USB_Device_ControlRequest(void) // Interface switch (USB_ControlRequest.wIndex) { case KEYBOARD_INTERFACE: +#ifdef NKRO_ENABLE case NKRO_INTERFACE: +#endif Endpoint_ClearSETUP(); while (!(Endpoint_IsOUTReceived())) {