fc980: Decrease scan wait and disable debug print

to avoid droping key in fast input
This commit is contained in:
tmk 2018-04-27 10:44:33 +09:00
parent 5bd8a672ef
commit cdf4b51d48

View 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();