summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/command.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-10-24 06:00:43 +0200
committerIBNobody <ibnobody@gmail.com>2016-10-24 06:00:43 +0200
commit17170ba76d3c94edcf1ab263520238fdb0384774 (patch)
tree4b80ab5544e6f53464068210278f0405bd596c41 /tmk_core/common/command.c
parent05ceef2350dbd72f696d70b8a2567d048fa147dc (diff)
downloadqmk_firmware-17170ba76d3c94edcf1ab263520238fdb0384774.tar.gz
qmk_firmware-17170ba76d3c94edcf1ab263520238fdb0384774.tar.xz
Fixed some large keyboard bugs
Fixed some bugs relating to keyboards with more than 16 columns. Also added the ability to mask off keyboard matrix bits.
Diffstat (limited to 'tmk_core/common/command.c')
-rw-r--r--tmk_core/common/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c
index f3e1bf623..5f29bc0b4 100644
--- a/tmk_core/common/command.c
+++ b/tmk_core/common/command.c
@@ -379,11 +379,11 @@ static bool command_common(uint8_t code)
debug_enable = !debug_enable;
if (debug_enable) {
print("\ndebug: on\n");
- debug_matrix = true;
- debug_keyboard = true;
- debug_mouse = true;
} else {
print("\ndebug: off\n");
+ debug_matrix = false;
+ debug_keyboard = false;
+ debug_mouse = false;
}
break;