提交 32939be9 编写于 作者: B Bernard Xiong

[libc] Fix the fputc issue when enable microlib.

上级 e877460a
......@@ -315,7 +315,7 @@ int fputc(int c, FILE *f)
{
char ch[2] = {0};
ch[1] = c;
ch[0] = c;
rt_kprintf(&ch[0]);
return 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册