1
0
Fork 0

Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)

This commit is contained in:
Drashna Jael're 2019-06-06 12:09:56 -07:00 committed by MechMerlin
parent fe6b8edd58
commit faaaa134fd
448 changed files with 594 additions and 627 deletions

View file

@ -27,8 +27,8 @@
/* Set 0 if debouncing isn't needed */
#ifndef DEBOUNCING_DELAY
# define DEBOUNCING_DELAY 5
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
#define COL_SHIFTER ((uint32_t)1)
@ -98,7 +98,7 @@ uint8_t matrix_scan(void)
}
}
if (debouncing && (timer_elapsed(debouncing_time) > DEBOUNCING_DELAY)) {
if (debouncing && (timer_elapsed(debouncing_time) > DEBOUNCE)) {
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
matrix[i] = matrix_debouncing[i];
}