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
commit 9e8c5033df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);