提交 d8acc6e9 编写于 作者: M MGY917 提交者: Gitee

!1 删除冗余判断

Merge pull request !1 from MGY917/N/A
...@@ -595,10 +595,6 @@ void *ShellEntry(void *argv) ...@@ -595,10 +595,6 @@ void *ShellEntry(void *argv)
} }
while (1) { while (1) {
/* is console ready for shell ? */
if (ret != SH_OK)
break;
n = read(0, &ch, 1); n = read(0, &ch, 1);
if (n == 1) { if (n == 1) {
ShellCmdLineParse(ch, (OutputFunc)printf, shellCB); ShellCmdLineParse(ch, (OutputFunc)printf, shellCB);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册