[finsh] Fix the echo mode issue.

This commit is contained in:
Bernard Xiong 2015-02-23 11:36:48 +08:00
parent a22b83c133
commit 570e2ffbe7
1 changed files with 2 additions and 1 deletions

View File

@ -526,6 +526,7 @@ void finsh_thread_entry(void* parameter)
else
{
shell->line[shell->line_position] = ch;
if (shell->echo_mode)
rt_kprintf("%c", ch);
}