]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
a bit smaller
authorJeremiah <barrar@users.noreply.github.com>
Sun, 14 May 2017 00:01:27 +0000 (17:01 -0700)
committerJeremiah <barrar@users.noreply.github.com>
Sun, 14 May 2017 00:01:27 +0000 (17:01 -0700)
tmk_core/common/keyboard.c

index d1794c8878f82d414c429a876ecde06fe3d9cd42..0116053fbebd7e135a9817068d0a6f319d13023c 100644 (file)
@@ -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++) {