Sfoglia il codice sorgente

[msh] add dependency of RT_USING_CONSOLE

Meco Man 1 anno fa
parent
commit
c06a31c7d3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      components/Kconfig

+ 2 - 0
components/Kconfig

@@ -25,7 +25,9 @@ config RT_USING_LEGACY
     bool "Support legacy version for compatibility"
     default n
 
+if RT_USING_CONSOLE
 source "$RTT_DIR/components/finsh/Kconfig"
+endif
 
 if !RT_USING_NANO
 source "$RTT_DIR/components/dfs/Kconfig"