mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-29 03:20:24 +08:00
Grissiom
60857630c0
simulator: fix serial_write
printf("%s") will print a NULL terminated string, while rt_serial_write should print buffer for size length. This also fix segfault when the string is not null terminated but specified by size.
Description
Languages
C
97.6%
Assembly
1.9%
Python
0.3%
HTML
0.1%