[Bug] Fix wrong varaible in encoder block (#18020)

This commit is contained in:
Drashna Jaelre 2022-08-12 19:55:59 -07:00 committed by GitHub
parent 31e78aafbd
commit 3d24845016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -895,7 +895,7 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
endif endif
ifeq ($(strip $(ENCODER_ENABLE)), yes) ifeq ($(strip $(ENCODER_ENABLE)), yes)
COMMON_VPATH += $(QUANTUM_DIR)/encoder.c SRC += $(QUANTUM_DIR)/encoder.c
OPT_DEFS += -DENCODER_ENABLE OPT_DEFS += -DENCODER_ENABLE
ifeq ($(strip $(ENCODER_MAP_ENABLE)), yes) ifeq ($(strip $(ENCODER_MAP_ENABLE)), yes)
OPT_DEFS += -DENCODER_MAP_ENABLE OPT_DEFS += -DENCODER_MAP_ENABLE