From cdf4b51d48f8c9791a2a3fd01b3e089181bf8ac9 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 27 Apr 2018 10:44:33 +0900 Subject: [PATCH] fc980: Decrease scan wait and disable debug print to avoid droping key in fast input --- keyboard/fc980c/fc980c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/keyboard/fc980c/fc980c.c b/keyboard/fc980c/fc980c.c index 9aaccea8..59b1d526 100644 --- a/keyboard/fc980c/fc980c.c +++ b/keyboard/fc980c/fc980c.c @@ -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(); -- 2.46.2