diff options
author | Drashna Jaelre <drashna@live.com> | 2019-06-03 18:37:16 -0700 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-06-04 09:37:16 +0800 |
commit | 4cb92b05ed86a956fc4c8c9fee6004b4d5fb704c (patch) | |
tree | e3b65f6ad040670fa4536e61f19fb1c598c76009 | |
parent | f3c7a253cae77c1e7b4624502028e55f74ed53d1 (diff) |
Fix up Debouncing in AVR Templates (#5964) (#59)
-rw-r--r-- | changelog.md | 3 | ||||
-rw-r--r-- | quantum/template/avr/config.h | 2 | ||||
-rw-r--r-- | 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 <http://www.gnu.org/licenses/>. // #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 <http://www.gnu.org/licenses/>. #define UNUSED_PINS #define DIODE_DIRECTION COL2ROW -#define DEBOUNCING_DELAY 5 +#define DEBOUNCE 5 #define NO_BACKLIGHT_CLOCK #define BACKLIGHT_LEVELS 1 |