提交 8b586fb2 编写于 作者: H houpengfei

删除不必要的参数

Signed-off-by: Nhoupengfei <houpengfei@talkweb.com.cn>
上级 e133ce68
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册