summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-18 00:10:20 +0900
committertmk <nobody@nowhere>2012-10-18 00:59:59 +0900
commitfffc375b45ad795c4a8d3cde94783dac195a2613 (patch)
tree0a78cce225b04930de14935dffd36ce8f3bf2d76 /common/keyboard.c
parentce2e06c39465b76a1780e5d594eaea7697afafd6 (diff)
downloadqmk_firmware-fffc375b45ad795c4a8d3cde94783dac195a2613.tar.gz
qmk_firmware-fffc375b45ad795c4a8d3cde94783dac195a2613.zip
Add child proof keyboard locking feature!
Fix: add wait for Power down command Add ifdef of MOUSEKEY_ENABLE
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index d7ced430e0..e973c46d5b 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -563,7 +563,7 @@ void keyboard_task(void)
matrix_row = matrix_get_row(r);
matrix_change = matrix_row ^ matrix_prev[r];
if (matrix_change) {
- matrix_debug();
+ if (debug_matrix) matrix_print();
for (int c = 0; c < MATRIX_COLS; c++) {
if (matrix_change & (1<<c)) {