From 0e40d55d9f6894aec2dfc844e8ea89756b0306fe Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Thu, 20 Dec 2012 07:25:19 +0000 Subject: fixed the coding style of RT_DEBUG_LOG git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/thread.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/thread.c') 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; } -- cgit v1.3.1