[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
1 changed files with 1 additions and 1 deletions

View File

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