This commit is contained in:
yulei 2020-03-07 21:19:06 +08:00 committed by GitHub
parent 3a303bd2ae
commit e0d15e6182
Failed to generate hash of commit
7 changed files with 52 additions and 72 deletions

View file

@ -130,7 +130,7 @@ uint8_t matrix_scan(void)
}
}
if (debouncing && timer_elapsed(debouncing_time) > DEBOUNCING_DELAY) {
if (debouncing && timer_elapsed(debouncing_time) > DEBOUNCE) {
for (int row = 0; row < MATRIX_ROWS; row++) {
matrix[row] = 0;
for (int col = 0; col < MATRIX_COLS; col++) {