mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 19:38:39 +08:00
6869a05368
At line 236, we may set the null terminate to the priv->buffer, when flushing the priv->buffer, we should use up_putc() instead up_nputs() to ensure all the data has been output, because up_nputs() will check the null terminate but up_putc() not. Signed-off-by: yuanyongjian <yuanyongjian@xiaomi.com>