diff options
Diffstat (limited to 'command.c')
| -rw-r--r-- | command.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -8,7 +8,7 @@ | |||
| 8 | #include "util.h" | 8 | #include "util.h" |
| 9 | #include "timer.h" | 9 | #include "timer.h" |
| 10 | #include "layer.h" | 10 | #include "layer.h" |
| 11 | #include "matrix_skel.h" | 11 | #include "matrix.h" |
| 12 | #include "command.h" | 12 | #include "command.h" |
| 13 | 13 | ||
| 14 | #ifdef HOST_PJRC | 14 | #ifdef HOST_PJRC |
| @@ -107,6 +107,8 @@ uint8_t command_proc(void) | |||
| 107 | break; | 107 | break; |
| 108 | #ifdef USB_NKRO_ENABLE | 108 | #ifdef USB_NKRO_ENABLE |
| 109 | case KB_N: | 109 | case KB_N: |
| 110 | host_clear_keyboard_report(); | ||
| 111 | host_send_keyboard_report(); | ||
| 110 | keyboard_nkro = !keyboard_nkro; | 112 | keyboard_nkro = !keyboard_nkro; |
| 111 | if (keyboard_nkro) | 113 | if (keyboard_nkro) |
| 112 | print("USB_NKRO: enabled\n"); | 114 | print("USB_NKRO: enabled\n"); |
