From: tmk Date: Fri, 27 Apr 2018 01:44:33 +0000 (+0900) Subject: fc980: Decrease scan wait and disable debug print X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=cdf4b51d48f8c9791a2a3fd01b3e089181bf8ac9;p=max%2Ftmk_keyboard.git fc980: Decrease scan wait and disable debug print to avoid droping key in fast input --- 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();