删除不必要的参数
Signed-off-by: houpengfei <houpengfei@talkweb.com.cn>
This commit is contained in:
parent
e133ce6865
commit
8b586fb2bf
|
@ -212,7 +212,7 @@ VOID ShellTaskEntry(VOID)
|
||||||
(VOID)LOS_EventRead(&g_shellInputEvent, 0x1, LOS_WAITMODE_AND | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER);
|
(VOID)LOS_EventRead(&g_shellInputEvent, 0x1, LOS_WAITMODE_AND | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER);
|
||||||
while ((*ptr = (UINT8)UartGetc()) != 0 && *ptr != 13) {
|
while ((*ptr = (UINT8)UartGetc()) != 0 && *ptr != 13) {
|
||||||
if (*ptr == '\x03') { /* ctrl + c */
|
if (*ptr == '\x03') { /* ctrl + c */
|
||||||
PRINTK("^C\n\rOHOS # ", *ptr);
|
PRINTK("^C\n\rOHOS # ");
|
||||||
ptr = buf;
|
ptr = buf;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue