~ruther/qmk_firmware

ref: e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30 qmk_firmware/keyboards/pica40/rev2/post_rules.mk -rw-r--r-- 307 bytes
e8e989fd — Stefan Kerkmann [Bug] Restore usb suspend wakeup delay (#21676) 2 years ago
                                                                                
1
2
3
4
5
6
7
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