summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-20 07:25:19 +0000
committer[email protected] <[email protected]>2012-12-20 07:25:19 +0000
commit0e40d55d9f6894aec2dfc844e8ea89756b0306fe (patch)
tree6e8b5aeb4b1c4e9dc424918a1a9a2f9439c7ee2b /src/thread.c
parentba4aa585a464893b01279d8724142002930f73b7 (diff)
fixed the coding style of RT_DEBUG_LOG
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c12
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;
}