Browse Source

rgbkb/zen/rev2: move non-assignment code to post_rules.mk

pull/14207/head
Zach White 2 years ago
parent
commit
9b981aa026
2 changed files with 5 additions and 6 deletions
  1. +5
    -0
      keyboards/rgbkb/zen/rev2/post_rules.mk
  2. +0
    -6
      keyboards/rgbkb/zen/rev2/rules.mk

+ 5
- 0
keyboards/rgbkb/zen/rev2/post_rules.mk View File

@ -0,0 +1,5 @@
# Setup so that OLED can be turned on/off easily
ifeq ($(strip $(OLED_ENABLE)), yes)
# Custom local font file
OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
endif

+ 0
- 6
keyboards/rgbkb/zen/rev2/rules.mk View File

@ -1,9 +1,3 @@
ENCODER_ENABLE = yes
OLED_ENABLE = no
# Setup so that OLED can be turned on/off easily
ifeq ($(strip $(OLED_ENABLE)), yes)
# Custom local font file
OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
endif

Loading…
Cancel
Save