summaryrefslogtreecommitdiff
path: root/components/finsh/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/finsh/shell.c')
-rw-r--r--components/finsh/shell.c2
1 files changed, 1 insertions, 1 deletions
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);