Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
This commit is contained in:
committed by
MechMerlin
parent
fe6b8edd58
commit
faaaa134fd
@@ -42,7 +42,7 @@
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// Set 0 if debouncing isn't needed
|
||||
#define DEBOUNCING_DELAY 5
|
||||
#define DEBOUNCE 5
|
||||
|
||||
// Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
@@ -234,8 +234,8 @@ void bootmagic_lite(void)
|
||||
|
||||
// We need multiple scans because debouncing can't be turned off.
|
||||
matrix_scan();
|
||||
wait_ms(DEBOUNCING_DELAY);
|
||||
wait_ms(DEBOUNCING_DELAY);
|
||||
wait_ms(DEBOUNCE);
|
||||
wait_ms(DEBOUNCE);
|
||||
matrix_scan();
|
||||
|
||||
// If the Esc (matrix 0,0) is held down on power up,
|
||||
@@ -374,4 +374,3 @@ void suspend_wakeup_init_kb(void)
|
||||
backlight_set_suspend_state(false);
|
||||
#endif // RGB_BACKLIGHT_ENABLED
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user