提交 8f52bdea 编写于 作者: M MGY917 提交者: Gitee

删除冗余判断

上级 ff52e24f
...@@ -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.
先完成此消息的编辑!
想要评论请 注册