summaryrefslogtreecommitdiffstats
path: root/keyboards/model01
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-09 07:57:14 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-07-09 07:57:14 -0700
commit6cccc22be933d0ee59368979bc58c3a7d02e3d7b (patch)
tree435cd8dc45d7264f59806f2aaf36b25542137fe6 /keyboards/model01
parent3184303037ed3344c145d2cd8751a2c550631a78 (diff)
Use QUANTUM_LIB_SRC for i2c_master.c inclusion (#5617)
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Diffstat (limited to 'keyboards/model01')
-rw-r--r--keyboards/model01/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/model01/rules.mk b/keyboards/model01/rules.mk
index 49ab981d14..4345027f41 100644
--- a/keyboards/model01/rules.mk
+++ b/keyboards/model01/rules.mk
@@ -1,5 +1,5 @@
-SRC += i2c_master.c \
- leds.c \
+QUANTUM_LIB_SRC += i2c_master.c
+SRC += leds.c \
matrix.c
# MCU name