提交 013e5bd4 编写于 作者: armink_ztl's avatar armink_ztl

[Components][Finsh] Add shell getchar received error process.

上级 d4dcbe0c
......@@ -541,8 +541,8 @@ void finsh_thread_entry(void *parameter)
}
}
/* handle CR key */
if (ch == '\0') continue;
/* received null or error */
if (ch == '\0' || ch == 0xFF) continue;
/* handle tab key */
else if (ch == '\t')
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册