mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[libc] Fix the fputc issue when enable microlib.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user