From 32997200f7f316dfce9242bf929264298677a704 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 20 Jul 2014 00:25:06 +0900 Subject: [PATCH] Fix NKRO code when NKRO is disable --- protocol/lufa/lufa.c | 2 ++ 1 file changed, 2 insertions(+) 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())) {