From 4cb92b05ed86a956fc4c8c9fee6004b4d5fb704c Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Mon, 3 Jun 2019 18:37:16 -0700 Subject: Fix up Debouncing in AVR Templates (#5964) (#59) --- changelog.md | 3 ++- quantum/template/avr/config.h | 2 +- quantum/template/ps2avrgb/config.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index fc5a556ac9..4e294042e4 100644 --- a/changelog.md +++ b/changelog.md @@ -22,4 +22,5 @@ 05-06-2019 - More readable fix of Mousekeys issue 05-06-2019 - Changes to Split Common and OLED code 05-16-2019 - Add RGB Light Effect Range functionality -05-26-2019 - Add Solus support for Linux install script +05-26-2019 - Update templates to use proper debounce define +05-26-2019 - Add Solus support for Linux install script \ No newline at end of file diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 48d7afb149..c13784ba15 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h @@ -86,7 +86,7 @@ along with this program. If not, see . // #endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCING_DELAY 5 +#define DEBOUNCE 5 /* define if matrix has ghost (lacks anti-ghosting diodes) */ //#define MATRIX_HAS_GHOST diff --git a/quantum/template/ps2avrgb/config.h b/quantum/template/ps2avrgb/config.h index 01cdf932ed..88968c8b97 100644 --- a/quantum/template/ps2avrgb/config.h +++ b/quantum/template/ps2avrgb/config.h @@ -34,7 +34,7 @@ along with this program. If not, see . #define UNUSED_PINS #define DIODE_DIRECTION COL2ROW -#define DEBOUNCING_DELAY 5 +#define DEBOUNCE 5 #define NO_BACKLIGHT_CLOCK #define BACKLIGHT_LEVELS 1 -- cgit v1.2.3