删除冗余判断

This commit is contained in:
MGY917 2020-09-11 11:31:34 +08:00 committed by Gitee
parent ff52e24fba
commit 8f52bdea24
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);