Browse Source

[msh] add dependency of RT_USING_CONSOLE

Meco Man 1 năm trước cách đây
mục cha
commit
c06a31c7d3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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"