[components][ulog] Make the asynchronous log output more timely.

This commit is contained in:
armink 2019-05-16 09:53:56 +08:00
parent 4539172f5c
commit 11b0c65921
1 changed files with 2 additions and 0 deletions

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);