Sfoglia il codice sorgente

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

Drashna Jaelre 2 anni fa
parent
commit
3d24845016
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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