Skip to content

Commit

Permalink
rgbkb/zen/rev2: move non-assignment code to post_rules.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Sep 10, 2021
1 parent 0ef17d8 commit 9b981aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions keyboards/rgbkb/zen/rev2/post_rules.mk
Original file line number Diff line number Diff line change
@@ -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
6 changes: 0 additions & 6 deletions keyboards/rgbkb/zen/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9b981aa

Please sign in to comment.