Merge pull request #2694 from armink/fix_ulog

[components][ulog] Make the asynchronous log output more timely.
This commit is contained in:
Bernard Xiong
2019-05-16 13:50:44 +08:00
committed by GitHub
+2
View File
@@ -1187,6 +1187,8 @@ void ulog_async_waiting_log(rt_int32_t time)
static void async_output_thread_entry(void *param)
{
ulog_async_output();
while (1)
{
ulog_async_waiting_log(RT_WAITING_FOREVER);