summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authoralex-ong <the.onga@gmail.com>2019-01-26 13:21:27 +0100
committeralex-ong <the.onga@gmail.com>2019-01-26 13:21:27 +0100
commit503e02db79c06f7893e6802eb1a2ab2850a931f1 (patch)
tree4abfa85ee217b29b85bc8b808ab380edeaeaf445 /common_features.mk
parent10cc4235155d0a039faf2dc5c2b1ebe513952c3c (diff)
parentd30d5eeb27b7dc66ef18e65dc150cf76121a7148 (diff)
downloadqmk_firmware-503e02db79c06f7893e6802eb1a2ab2850a931f1.tar.gz
qmk_firmware-503e02db79c06f7893e6802eb1a2ab2850a931f1.tar.xz
Merge branch 'debounce_refactor' of https://github.com/alex-ong/qmk_firmware into debounce_refactor
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/common_features.mk b/common_features.mk
index 2c86fd31b..8e2747d5a 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -265,11 +265,11 @@ endif
DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce
# Debounce Modules. If implemented in matrix.c, don't use these.
-ifeq ($(strip $(DEBOUNCE_ALGO)), manual)
+ifeq ($(strip $(DEBOUNCE_TYPE)), custom)
# Do nothing. do your debouncing in matrix.c
-else ifeq ($(strip $(DEBOUNCE_ALGO)), sym_g)
+else ifeq ($(strip $(DEBOUNCE_TYPE)), sym_g)
QUANTUM_SRC += $(DEBOUNCE_DIR)/debounce_sym_g.c
-else ifeq ($(strip $(DEBOUNCE_ALGO)), eager_pk)
+else ifeq ($(strip $(DEBOUNCE_TYPE)), eager_pk)
QUANTUM_SRC += $(DEBOUNCE_DIR)/debounce_eager_pk.c
else # default algorithm. Won't be used if we have a custom_matrix that doesn't utilize it
QUANTUM_SRC += $(DEBOUNCE_DIR)/debounce_sym_g.c