summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremiah <barrar@users.noreply.github.com>2017-05-13 17:01:27 -0700
committerJeremiah <barrar@users.noreply.github.com>2017-05-13 17:01:27 -0700
commitacd3e97b83aac14961d1892b0b8333963f499505 (patch)
treec80bec01fd632a89e64b689969d846f7353b6ec5
parent99877cdff3f891127e806a9bde7105e6250f3737 (diff)
a bit smaller
-rw-r--r--tmk_core/common/keyboard.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index d1794c8878..0116053fbe 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -161,7 +161,7 @@ void keyboard_task(void)
{
static matrix_row_t matrix_prev[MATRIX_ROWS];
#ifdef MATRIX_HAS_GHOST
- static matrix_row_t matrix_ghost[MATRIX_ROWS];
+ // static matrix_row_t matrix_ghost[MATRIX_ROWS];
#endif
static uint8_t led_status = 0;
matrix_row_t matrix_row = 0;
@@ -178,13 +178,13 @@ void keyboard_task(void)
* debugging. But don't update matrix_prev until un-ghosted, or
* the last key would be lost.
*/
- if (debug_matrix && matrix_ghost[r] != matrix_row) {
- matrix_print();
- }
- matrix_ghost[r] = matrix_row;
+ //if (debug_matrix && matrix_ghost[r] != matrix_row) {
+ // matrix_print();
+ //}
+ //matrix_ghost[r] = matrix_row;
continue;
}
- matrix_ghost[r] = matrix_row;
+ //matrix_ghost[r] = matrix_row;
#endif
if (debug_matrix) matrix_print();
for (uint8_t c = 0; c < MATRIX_COLS; c++) {