diff --git a/keyboards/truestrike42/rules.mk b/keyboards/truestrike42/rules.mk index 93c09500423..2cac03d6246 100644 --- a/keyboards/truestrike42/rules.mk +++ b/keyboards/truestrike42/rules.mk @@ -1,5 +1,9 @@ -SRC += matrix.c he_switch_matrix.c via_he.c graphics/display.c graphics/quinquefive.qff.c +SRC += matrix.c he_switch_matrix.c graphics/display.c graphics/quinquefive.qff.c CUSTOM_MATRIX = lite ANALOG_DRIVER_REQUIRED = yes QUANTUM_PAINTER_ENABLE = yes QUANTUM_PAINTER_DRIVERS += sh1106_i2c + +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += via_he.c +endif