]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
fc980: Decrease scan wait and disable debug print
authortmk <hasu@tmk-kbd.com>
Fri, 27 Apr 2018 01:44:33 +0000 (10:44 +0900)
committertmk <hasu@tmk-kbd.com>
Fri, 27 Apr 2018 02:18:09 +0000 (11:18 +0900)
to avoid droping key in fast input

keyboard/fc980c/fc980c.c

index 9aaccea8ff97d3d4c9e0617d9a94d78eed756924..59b1d5261fa8878dcbc9011094f789bb9aecbe26 100644 (file)
@@ -46,8 +46,6 @@ void matrix_init(void)
     debug_keyboard = true;
     debug_matrix = true;
 #endif
-    debug_enable = true;
-    debug_matrix = true;
 
     KEY_INIT();
 
@@ -113,7 +111,7 @@ uint8_t matrix_scan(void)
 
             // NOTE: KEY_STATE keep its state in 20us after KEY_ENABLE.
             // This takes 25us or more to make sure KEY_STATE returns to idle state.
-            _delay_us(75);
+            _delay_us(30);
         }
         if (matrix[row] ^ matrix_prev[row]) {
             matrix_last_modified = timer_read32();