提交 9b80e1be 编写于 作者: J jonas 提交者: liuxianliang

修复AT组件在CLI模式下,指令输入过长导致数组越界的问题

上级 c5387915
......@@ -264,6 +264,10 @@ static void client_cli_parser(at_client_t client)
}
else
{
if(cur_line_len >= FINSH_CMD_SIZE)
{
continue;
}
rt_kprintf("%c", ch);
cur_line[cur_line_len++] = ch;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册