diff options
| author | tmk <nobody@nowhere> | 2014-04-27 05:07:27 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-04-27 05:36:41 +0900 |
| commit | 22854eb71b84a10ebad0f85841f2b99d38e1da8c (patch) | |
| tree | 16ede150938a420cf05bcb7769b73df4794b0f9f /protocol/pjrc/usb_keyboard.c | |
| parent | 5e3f2d2b2e5065a04495f2c55fae0849966b5d23 (diff) | |
| download | qmk_firmware-22854eb71b84a10ebad0f85841f2b99d38e1da8c.tar.gz qmk_firmware-22854eb71b84a10ebad0f85841f2b99d38e1da8c.zip | |
NKRO is disable when SET_PROTOCOL(boot)
- Command can force to enable NKRO even when boot mode
- After boot keyboard may be in boot mode due to BIOS' request
Diffstat (limited to 'protocol/pjrc/usb_keyboard.c')
| -rw-r--r-- | protocol/pjrc/usb_keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/pjrc/usb_keyboard.c b/protocol/pjrc/usb_keyboard.c index c11995db6..d16833187 100644 --- a/protocol/pjrc/usb_keyboard.c +++ b/protocol/pjrc/usb_keyboard.c | |||
| @@ -56,7 +56,7 @@ int8_t usb_keyboard_send_report(report_keyboard_t *report) | |||
| 56 | int8_t result = 0; | 56 | int8_t result = 0; |
| 57 | 57 | ||
| 58 | #ifdef NKRO_ENABLE | 58 | #ifdef NKRO_ENABLE |
| 59 | if (keyboard_nkro && keyboard_protocol) | 59 | if (keyboard_nkro) |
| 60 | result = send_report(report, KBD2_ENDPOINT, 0, KBD2_SIZE); | 60 | result = send_report(report, KBD2_ENDPOINT, 0, KBD2_SIZE); |
| 61 | else | 61 | else |
| 62 | #endif | 62 | #endif |
