diff options
| author | tmk <nobody@nowhere> | 2012-11-23 12:33:42 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-11-23 12:33:42 +0900 |
| commit | 6caefe9649d88673719e969502d220c5e9dcd124 (patch) | |
| tree | 332455746dd60b60d18f5eec39487f96192fe330 /common/command.c | |
| parent | 613fdb24fcdb4f8920f0d344cad5800d343f535c (diff) | |
| download | qmk_firmware-6caefe9649d88673719e969502d220c5e9dcd124.tar.gz qmk_firmware-6caefe9649d88673719e969502d220c5e9dcd124.zip | |
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.c | 1 |
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) | |||
| 234 | break; | 234 | break; |
| 235 | #ifdef NKRO_ENABLE | 235 | #ifdef NKRO_ENABLE |
| 236 | case KC_N: | 236 | case KC_N: |
| 237 | clear_keyboard(); //Prevents stuck keys. | ||
| 237 | keyboard_nkro = !keyboard_nkro; | 238 | keyboard_nkro = !keyboard_nkro; |
| 238 | if (keyboard_nkro) | 239 | if (keyboard_nkro) |
| 239 | print("NKRO: enabled\n"); | 240 | print("NKRO: enabled\n"); |
