aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.c
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2012-11-23 12:33:42 +0900
committerGravatar tmk <nobody@nowhere>2012-11-23 12:33:42 +0900
commit6caefe9649d88673719e969502d220c5e9dcd124 (patch)
tree332455746dd60b60d18f5eec39487f96192fe330 /common/command.c
parent613fdb24fcdb4f8920f0d344cad5800d343f535c (diff)
downloadqmk_firmware-6caefe9649d88673719e969502d220c5e9dcd124.tar.gz
Fixes from Tranquilite@GH.
- Fix keyboard_task() when matrix column size > 16 - Add clear_keyboard() in NKRO command to avoid stucking keys. - Fix function name in print.c.
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c
index a06e6a00d..5cdd168d4 100644
--- a/common/command.c
+++ b/common/command.c
@@ -234,6 +234,7 @@ static bool command_common(uint8_t code)
break;
#ifdef NKRO_ENABLE
case KC_N:
+ clear_keyboard(); //Prevents stuck keys.
keyboard_nkro = !keyboard_nkro;
if (keyboard_nkro)
print("NKRO: enabled\n");