]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/ergodox_ez/rules.mk
Fix chibios so the dfu-suffix is only applied once. (#6270)
[qmk_firmware.git] / keyboards / ergodox_ez / rules.mk
index dfbdba10d66adadb0e9eb57d246588e4bcc51cc0..e96cd20825c3f530f4dbfba7df3b53a224beb112 100644 (file)
@@ -15,8 +15,7 @@
 #----------------------------------------------------------------------------
 
 # # project specific files
-SRC = matrix.c \
-  i2c_master.c
+SRC += matrix.c
 
 # MCU name
 MCU = atmega32u4
@@ -83,6 +82,12 @@ SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
 SLEEP_LED_ENABLE = no
 API_SYSEX_ENABLE = no
 RGBLIGHT_ENABLE = yes
-RGB_MATRIX_ENABLE = no // enable later
+RGB_MATRIX_ENABLE = no # enable later
+DEBOUNCE_TYPE = eager_pr
+
+ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
+  SRC += i2c_master.c
+endif
+
 
 LAYOUTS = ergodox