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) | |
| download | qmk_firmware-32997200f7f316dfce9242bf929264298677a704.tar.gz qmk_firmware-32997200f7f316dfce9242bf929264298677a704.zip | |
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 d60aecc3f..16a602df1 100644 --- a/protocol/lufa/lufa.c +++ b/protocol/lufa/lufa.c | |||
| @@ -272,7 +272,9 @@ void EVENT_USB_Device_ControlRequest(void) | |||
| 272 | // Interface | 272 | // Interface |
| 273 | switch (USB_ControlRequest.wIndex) { | 273 | switch (USB_ControlRequest.wIndex) { |
| 274 | case KEYBOARD_INTERFACE: | 274 | case KEYBOARD_INTERFACE: |
| 275 | #ifdef NKRO_ENABLE | ||
| 275 | case NKRO_INTERFACE: | 276 | case NKRO_INTERFACE: |
| 277 | #endif | ||
| 276 | Endpoint_ClearSETUP(); | 278 | Endpoint_ClearSETUP(); |
| 277 | 279 | ||
| 278 | while (!(Endpoint_IsOUTReceived())) { | 280 | while (!(Endpoint_IsOUTReceived())) { |
