删除不必要的参数

Signed-off-by: houpengfei <houpengfei@talkweb.com.cn>
This commit is contained in:
houpengfei 2022-01-24 09:07:36 +08:00
parent e133ce6865
commit 8b586fb2bf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}