Browse Source

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

Drashna Jaelre 2 years ago
parent
commit
3d24845016
1 changed files with 1 additions and 1 deletions
  1. 1 1
      builddefs/common_features.mk

+ 1 - 1
builddefs/common_features.mk

@@ -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