mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
Update command.c
This commit is contained in:
parent
26af2efb5d
commit
57a50169b6
|
@ -447,7 +447,7 @@ static bool command_common(uint8_t code) {
|
|||
// NKRO toggle
|
||||
case MAGIC_KC(MAGIC_KEY_NKRO):
|
||||
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) {
|
||||
print("NKRO: on\n");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user