From 5444c90ecfe0a2bb4e8332b09f170daf848cad0a Mon Sep 17 00:00:00 2001 From: "moebius.ever" Date: Thu, 15 Mar 2018 10:12:17 +0800 Subject: [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not --- components/finsh/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/finsh/shell.c') diff --git a/components/finsh/shell.c b/components/finsh/shell.c index fc13a92b13..a98c2531b5 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -414,7 +414,7 @@ void finsh_thread_entry(void *parameter) char ch; /* normal is echo mode */ - shell->echo_mode = 1; + shell->echo_mode = FINSH_ENABLE_ECHO; #ifndef FINSH_USING_MSH_ONLY finsh_init(&shell->parser); -- cgit v1.3.1