Update command.c

This commit is contained in:
lalalademaxiya1 2022-07-07 14:20:07 +08:00
parent 26af2efb5d
commit 57a50169b6

View File

@ -447,7 +447,7 @@ static bool command_common(uint8_t code) {
// NKRO toggle // NKRO toggle
case MAGIC_KC(MAGIC_KEY_NKRO): case MAGIC_KC(MAGIC_KEY_NKRO):
clear_keyboard(); // clear to prevent stuck keys clear_keyboard(); // clear to prevent stuck keys
keymap_config.nkro = keymap_config.nkro_save = !keymap_config.nkro; keymap_config.nkro = !keymap_config.nkro;
if (keymap_config.nkro) { if (keymap_config.nkro) {
print("NKRO: on\n"); print("NKRO: on\n");
} else { } else {