summaryrefslogtreecommitdiff
path: root/keyboards/zeal60
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-06-06 12:09:56 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-06-06 12:09:56 -0700
commitfaaaa134fd436be400aa2c7841b38907899d49a6 (patch)
tree9deaea82d250f349b314ec89d369f068ddd75489 /keyboards/zeal60
parentfe6b8edd581c334a92a97c15faced95a12d5e882 (diff)
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
Diffstat (limited to 'keyboards/zeal60')
-rw-r--r--keyboards/zeal60/config.h2
-rw-r--r--keyboards/zeal60/zeal60.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/zeal60/config.h b/keyboards/zeal60/config.h
index a5e41116dc..7c5340e730 100644
--- a/keyboards/zeal60/config.h
+++ b/keyboards/zeal60/config.h
@@ -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
diff --git a/keyboards/zeal60/zeal60.c b/keyboards/zeal60/zeal60.c
index 5f93c571ad..93f442f554 100644
--- a/keyboards/zeal60/zeal60.c
+++ b/keyboards/zeal60/zeal60.c
@@ -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
}
-