mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
474835eabe
In current implementation, when doing syslog_write(), there may be more than one channel, the syslog will iterate each channel, but only return the bytes writen through the last channel, the better way should be returning the maximum bytes writen through one channel. Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>