From 1e8d5baf8cc3c2ef9e962cc11fc3614840e2a1f1 Mon Sep 17 00:00:00 2001 From: xukunrui Date: Wed, 18 Aug 2021 14:13:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=B0=83=E7=94=A8system=5Fco?= =?UTF-8?q?nsole=5Fdeinit=E6=8E=A5=E5=8F=A3=E8=BF=9B=E8=A1=8C=E5=8D=B8?= =?UTF-8?q?=E8=BD=BDconsole=E8=B0=83=E8=AF=95=E5=8F=A3=EF=BC=8C=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=8C=82=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xukunrui --- shell/full/src/base/show.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell/full/src/base/show.c b/shell/full/src/base/show.c index 178778b9..1a72ddb6 100755 --- a/shell/full/src/base/show.c +++ b/shell/full/src/base/show.c @@ -157,6 +157,12 @@ INT32 OsShellDeinit(INT32 consoleId) return -1; } +#if defined(LOSCFG_PLATFORM_ROOTFS) + if (consoleId == CONSOLE_SERIAL){ + return 0; + } +#endif + (VOID)LOS_TaskDelete(shellCB->shellEntryHandle); (VOID)LOS_EventWrite(&shellCB->shellEvent, CONSOLE_SHELL_KEY_EVENT); -- GitLab