[Keyboard] fix compile error make helix/rev2/sc:all (#14214)

This commit is contained in:
Takeshi ISHII 2021-08-29 15:06:00 +09:00 committed by GitHub
parent dd8922d482
commit 9afc64cd61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,6 +164,16 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
endif
else
ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
$(info Helix/rev2: The following combinations are not supported.)
$(info - SPLIT_KEYBOARD = $(SPLIT_KEYBOARD)) # yes
$(info - OLED_ENABLE = $(OLED_ENABLE)) # yes
$(info - OLED_SELECT = $(OLED_SELECT)) # local
$(info Force : OLED_ENABLE = no)
$(info .)
OLED_ENABLE = no
endif
ifeq ($(strip $(OLED_ENABLE)), yes)
OLED_ENABLE = no # disable OLED in TOP/common_features.mk
OLED_LOCAL_ENABLE = yes
SRC += local_drivers/i2c.c
@ -174,6 +184,7 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
OPT_DEFS += -DLOCAL_GLCDFONT
endif
endif
endif
endif
ifneq ($(strip $(SHOW_HELIX_OPTIONS)),)