[finsh] Fix the echo mode issue.
This commit is contained in:
parent
a22b83c133
commit
570e2ffbe7
|
@ -526,6 +526,7 @@ void finsh_thread_entry(void* parameter)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
shell->line[shell->line_position] = ch;
|
shell->line[shell->line_position] = ch;
|
||||||
|
if (shell->echo_mode)
|
||||||
rt_kprintf("%c", ch);
|
rt_kprintf("%c", ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue