1
0
Fork 0

Improves debounce

This commit is contained in:
Jack Humbert 2016-07-04 12:01:10 -04:00 committed by Erez Zukerman
parent 8e88d55bfd
commit eafaba6b53
2 changed files with 3 additions and 9 deletions

View file

@ -179,7 +179,7 @@ uint8_t matrix_scan(void)
if (debouncing) {
if (--debouncing) {
_delay_ms(1);
_delay_ms(2);
} else {
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
matrix[i] = matrix_debouncing[i];