提交 570e2ffb 编写于 作者: B Bernard Xiong

[finsh] Fix the echo mode issue.

上级 a22b83c1
...@@ -526,7 +526,8 @@ void finsh_thread_entry(void* parameter) ...@@ -526,7 +526,8 @@ void finsh_thread_entry(void* parameter)
else else
{ {
shell->line[shell->line_position] = ch; shell->line[shell->line_position] = ch;
rt_kprintf("%c", ch); if (shell->echo_mode)
rt_kprintf("%c", ch);
} }
ch = 0; ch = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册