diff options
author | tmk <nobody@nowhere> | 2014-07-20 00:25:06 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-20 00:31:40 +0900 |
commit | 32997200f7f316dfce9242bf929264298677a704 (patch) | |
tree | fc52f746a2cb1ba5a1eb060bfb342ccdcfaebd45 /protocol | |
parent | 452866319bc30ef1bb018c4aa70df519ab78b9bf (diff) |
Fix NKRO code when NKRO is disable
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/lufa/lufa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c index d60aecc3f1..16a602df13 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())) { |