From: Drashna Jaelre Date: Fri, 24 May 2019 00:42:06 +0000 (-0700) Subject: Fix up Debouncing in AVR Templates (#5964) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=83afae31ed64ba577a4bd0336131598196d3e8c7;p=qmk_firmware.git Fix up Debouncing in AVR Templates (#5964) --- diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 48d7afb14..c13784ba1 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 8d9a993cf..d954fec96 100644 --- a/quantum/template/ps2avrgb/config.h +++ b/quantum/template/ps2avrgb/config.h @@ -37,7 +37,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