X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=command.c;h=0152ccd87b1a684da7931d4843c2966bbd1eb192;hb=fb8d23c60c757d5d9c2270cb0123a53be2049a28;hp=a31a4007b365c9bfedd9aa5ebaf4315af9812954;hpb=9a938eecbd2b70c970992583b5c16da717d8e254;p=max%2Ftmk_keyboard.git diff --git a/command.c b/command.c index a31a4007..0152ccd8 100644 --- a/command.c +++ b/command.c @@ -8,7 +8,7 @@ #include "util.h" #include "timer.h" #include "layer.h" -#include "matrix_skel.h" +#include "matrix.h" #include "command.h" #ifdef HOST_PJRC @@ -107,6 +107,8 @@ uint8_t command_proc(void) break; #ifdef USB_NKRO_ENABLE case KB_N: + host_clear_keyboard_report(); + host_send_keyboard_report(); keyboard_nkro = !keyboard_nkro; if (keyboard_nkro) print("USB_NKRO: enabled\n");