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 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99?= =?UTF-8?q?=E5=88=A4=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); From 2bc01d3ce4ebdbe9e98b815c608fc2054628ee9d Mon Sep 17 00:00:00 2001 From: YOUR_NAME Date: Thu, 11 Mar 2021 20:12:26 +0800 Subject: [PATCH 2/2] fix:compile bug fix --- drivers/char/quickstart/include/los_quick_start.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/quickstart/include/los_quick_start.h b/drivers/char/quickstart/include/los_quick_start.h index c9b97082..ad3d3742 100644 --- a/drivers/char/quickstart/include/los_quick_start.h +++ b/drivers/char/quickstart/include/los_quick_start.h @@ -34,7 +34,7 @@ #include "los_typedef.h" -fdef __cplusplus +#ifdef __cplusplus #if __cplusplus extern "C" { #endif /* __cplusplus */