summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-09 07:57:14 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-10 09:00:07 +0900
commitdba5ec7d92c04b9bfa1b39c4b04227c3032667fb (patch)
treeb5b80ba90f853172cacdc5639949ddcd5e6bac13 /keyboards/ergodox_ez
parentd29148f289052138f06695d1e1a79ea2f0d4c71d (diff)
Use QUANTUM_LIB_SRC for i2c_master.c inclusion (qmk#5617)
Diffstat (limited to 'keyboards/ergodox_ez')
-rw-r--r--keyboards/ergodox_ez/rules.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/keyboards/ergodox_ez/rules.mk b/keyboards/ergodox_ez/rules.mk
index e96cd20825..2882072a62 100644
--- a/keyboards/ergodox_ez/rules.mk
+++ b/keyboards/ergodox_ez/rules.mk
@@ -16,6 +16,7 @@
# # project specific files
SRC += matrix.c
+QUANTUM_LIB_SRC += i2c_master.c
# MCU name
MCU = atmega32u4
@@ -85,9 +86,4 @@ RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no # enable later
DEBOUNCE_TYPE = eager_pr
-ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
- SRC += i2c_master.c
-endif
-
-
LAYOUTS = ergodox