!1 删除冗余判断

Merge pull request !1 from MGY917/N/A
This commit is contained in:
MGY917 2020-09-11 11:33:48 +08:00 committed by Gitee
commit d8acc6e91f
1 changed files with 0 additions and 4 deletions

View File

@ -595,10 +595,6 @@ void *ShellEntry(void *argv)
}
while (1) {
/* is console ready for shell ? */
if (ret != SH_OK)
break;
n = read(0, &ch, 1);
if (n == 1) {
ShellCmdLineParse(ch, (OutputFunc)printf, shellCB);