From 8f52bdea2446a79e4b6512fad747fa49c081ebcf Mon Sep 17 00:00:00 2001 From: MGY917 <8046261+mgy917@user.noreply.gitee.com> Date: Fri, 11 Sep 2020 11:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/shell/src/shmsg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/shell/src/shmsg.c b/apps/shell/src/shmsg.c index 34b7537b..a10b4c80 100755 --- a/apps/shell/src/shmsg.c +++ b/apps/shell/src/shmsg.c @@ -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); -- Gitee