diff options
| author | Grissiom <[email protected]> | 2013-05-15 20:16:03 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-05-15 20:16:03 +0800 |
| commit | 60857630c0e3dbcc7cf295e377de9641a0c0a53e (patch) | |
| tree | c0a9bf801f9bad7959827cc98c9965097990bef8 /components/drivers | |
| parent | f7d1097e6ba5aa1960afd9b8e1670d141678dc9c (diff) | |
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.
Diffstat (limited to 'components/drivers')
0 files changed, 0 insertions, 0 deletions
