aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
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 /tmk_core
parent99877cdff3f891127e806a9bde7105e6250f3737 (diff)
downloadqmk_firmware-acd3e97b83aac14961d1892b0b8333963f499505.tar.gz
qmk_firmware-acd3e97b83aac14961d1892b0b8333963f499505.zip
a bit smaller
Diffstat (limited to 'tmk_core')
-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 d1794c887..0116053fb 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -161,7 +161,7 @@ void keyboard_task(void)
161{ 161{
162 static matrix_row_t matrix_prev[MATRIX_ROWS]; 162 static matrix_row_t matrix_prev[MATRIX_ROWS];
163#ifdef MATRIX_HAS_GHOST 163#ifdef MATRIX_HAS_GHOST
164 static matrix_row_t matrix_ghost[MATRIX_ROWS]; 164 // static matrix_row_t matrix_ghost[MATRIX_ROWS];
165#endif 165#endif
166 static uint8_t led_status = 0; 166 static uint8_t led_status = 0;
167 matrix_row_t matrix_row = 0; 167 matrix_row_t matrix_row = 0;
@@ -178,13 +178,13 @@ void keyboard_task(void)
178 * debugging. But don't update matrix_prev until un-ghosted, or 178 * debugging. But don't update matrix_prev until un-ghosted, or
179 * the last key would be lost. 179 * the last key would be lost.
180 */ 180 */
181 if (debug_matrix && matrix_ghost[r] != matrix_row) { 181 //if (debug_matrix && matrix_ghost[r] != matrix_row) {
182 matrix_print(); 182 // matrix_print();
183 } 183 //}
184 matrix_ghost[r] = matrix_row; 184 //matrix_ghost[r] = matrix_row;
185 continue; 185 continue;
186 } 186 }
187 matrix_ghost[r] = matrix_row; 187 //matrix_ghost[r] = matrix_row;
188#endif 188#endif
189 if (debug_matrix) matrix_print(); 189 if (debug_matrix) matrix_print();
190 for (uint8_t c = 0; c < MATRIX_COLS; c++) { 190 for (uint8_t c = 0; c < MATRIX_COLS; c++) {