From d5e622b979c54ddc8f9ad97116c302e29c6aed12 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Sun, 5 Feb 2023 14:36:01 -0700 Subject: Remove `DEBOUNCE` macro usage (#19750) --- keyboards/duck/eagle_viper/v2/matrix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'keyboards/duck/eagle_viper/v2/matrix.c') diff --git a/keyboards/duck/eagle_viper/v2/matrix.c b/keyboards/duck/eagle_viper/v2/matrix.c index 0964493ac6..a673c536c2 100644 --- a/keyboards/duck/eagle_viper/v2/matrix.c +++ b/keyboards/duck/eagle_viper/v2/matrix.c @@ -22,6 +22,10 @@ along with this program. If not, see . #include "print.h" #include "debug.h" +#ifndef DEBOUNCE +# define DEBOUNCE 5 +#endif + static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ -- cgit v1.2.3