summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authoralex-ong <the.onga@gmail.com>2019-01-26 10:37:47 +0100
committeralex-ong <the.onga@gmail.com>2019-01-26 10:37:47 +0100
commitcce8dfab394a643fd6d0250bc8a80a721703a154 (patch)
tree5fa5191b9c4a1bbe3828439e2a728212798e63bd /common_features.mk
parent14ed96aa064323acb0f8ceecaee3516fb372a56c (diff)
downloadqmk_firmware-cce8dfab394a643fd6d0250bc8a80a721703a154.tar.gz
qmk_firmware-cce8dfab394a643fd6d0250bc8a80a721703a154.tar.xz
Removed check for custom_matrix. We can safely include the debounce file for compilation when custom_matrix is used.
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/common_features.mk b/common_features.mk
index deb30706a..2c86fd31b 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -271,9 +271,7 @@ else ifeq ($(strip $(DEBOUNCE_ALGO)), sym_g)
QUANTUM_SRC += $(DEBOUNCE_DIR)/debounce_sym_g.c
else ifeq ($(strip $(DEBOUNCE_ALGO)), eager_pk)
QUANTUM_SRC += $(DEBOUNCE_DIR)/debounce_eager_pk.c
-else ifeq ($(strip $(CUSTOM_MATRIX)), yes)
- # Do nothing. Custom matrix code.
-else # default algorithm
+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
endif