diff options
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/thread.c b/src/thread.c index c3603657e0..2723a8b30e 100644 --- a/src/thread.c +++ b/src/thread.c @@ -196,8 +196,8 @@ rt_err_t rt_thread_startup(rt_thread_t thread) thread->number_mask = 1L << thread->current_priority; #endif - RT_DEBUG_LOG(RT_DEBUG_THREAD,\ - ("startup a thread:%s with priority:%d\n", thread->name, thread->init_priority)); + RT_DEBUG_LOG(RT_DEBUG_THREAD, ("startup a thread:%s with priority:%d\n", + thread->name, thread->init_priority)); /* change thread stat */ thread->stat = RT_THREAD_SUSPEND; /* then resume it */ @@ -532,8 +532,8 @@ rt_err_t rt_thread_suspend(rt_thread_t thread) if (thread->stat != RT_THREAD_READY) { - RT_DEBUG_LOG(RT_DEBUG_THREAD,\ - ("thread suspend: thread disorder, %d\n", thread->stat)); + RT_DEBUG_LOG(RT_DEBUG_THREAD, ("thread suspend: thread disorder, %d\n", + thread->stat)); return -RT_ERROR; } @@ -570,8 +570,8 @@ rt_err_t rt_thread_resume(rt_thread_t thread) if (thread->stat != RT_THREAD_SUSPEND) { - RT_DEBUG_LOG(RT_DEBUG_THREAD, \ - ("thread resume: thread disorder, %d\n", thread->stat)); + RT_DEBUG_LOG(RT_DEBUG_THREAD, ("thread resume: thread disorder, %d\n", + thread->stat)); return -RT_ERROR; } |
