Skip to content

Commit

Permalink
【完善】日志格式。
Browse files Browse the repository at this point in the history
Signed-off-by: armink <armink.ztl@gmail.com>
  • Loading branch information
armink committed Mar 29, 2019
1 parent be37015 commit 1ef4c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thread_pool_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#include "thread_pool.h"

static void task(void *arg) {
LOG_I("The task on thread %.*s is running", RT_NAME_MAX, rt_thread_self()->name);
LOG_I("The task on thread %.*s is running.", RT_NAME_MAX, rt_thread_self()->name);
rt_thread_delay(rt_tick_from_millisecond((uint32_t)arg));
LOG_I("The task on thread %.*s will finish", RT_NAME_MAX, rt_thread_self()->name);
LOG_I("The task on thread %.*s will finish.", RT_NAME_MAX, rt_thread_self()->name);
}

static void thread_pool_sample(uint8_t argc, char **argv) {
Expand Down

0 comments on commit 1ef4c9d

Please sign in to comment.