From 8b586fb2bfe98e5425727fd4acd84a68166a42a7 Mon Sep 17 00:00:00 2001 From: houpengfei Date: Mon, 24 Jan 2022 09:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houpengfei --- components/shell/src/base/shmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shell/src/base/shmsg.c b/components/shell/src/base/shmsg.c index c8ece50c..0a3c4485 100755 --- a/components/shell/src/base/shmsg.c +++ b/components/shell/src/base/shmsg.c @@ -212,7 +212,7 @@ VOID ShellTaskEntry(VOID) (VOID)LOS_EventRead(&g_shellInputEvent, 0x1, LOS_WAITMODE_AND | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); while ((*ptr = (UINT8)UartGetc()) != 0 && *ptr != 13) { if (*ptr == '\x03') { /* ctrl + c */ - PRINTK("^C\n\rOHOS # ", *ptr); + PRINTK("^C\n\rOHOS # "); ptr = buf; break; }