Do not add via_he.c to SRC unless VIA_ENABLE is specified

This commit is contained in:
Choi Byungyoon 2025-07-20 14:26:39 +09:00
parent 3a6f582839
commit 9d64de92fa

View File

@ -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 CUSTOM_MATRIX = lite
ANALOG_DRIVER_REQUIRED = yes ANALOG_DRIVER_REQUIRED = yes
QUANTUM_PAINTER_ENABLE = yes QUANTUM_PAINTER_ENABLE = yes
QUANTUM_PAINTER_DRIVERS += sh1106_i2c QUANTUM_PAINTER_DRIVERS += sh1106_i2c
ifeq ($(strip $(VIA_ENABLE)), yes)
SRC += via_he.c
endif