Browse Source

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

armink 6 năm trước cách đây
mục cha
commit
11b0c65921
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      components/utilities/ulog/ulog.c

+ 2 - 0
components/utilities/ulog/ulog.c

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