[Keyboard] Add Pica40 (#19220)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
8
keyboards/pica40/rev2/post_rules.mk
Normal file
8
keyboards/pica40/rev2/post_rules.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
# if ENCODER_ENABLE is set, add defines but avoid adding encoder.c as it's replaced by custom code in rev2.c
|
||||
ifeq ($(strip $(ENCODER_ENABLE)), yes)
|
||||
ENCODER_ENABLE := no
|
||||
OPT_DEFS += -DENCODER_ENABLE
|
||||
ifeq ($(strip $(ENCODER_MAP_ENABLE)), yes)
|
||||
OPT_DEFS += -DENCODER_MAP_ENABLE
|
||||
endif
|
||||
endif
|
||||
Reference in New Issue
Block a user