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.
This commit is contained in:
tmk 2012-11-23 12:33:42 +09:00
parent 613fdb24fc
commit 6caefe9649
3 changed files with 7 additions and 6 deletions

View file

@ -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");