summaryrefslogtreecommitdiff
path: root/src/idle.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-06-02 09:20:19 +0000
committer[email protected] <[email protected]>2012-06-02 09:20:19 +0000
commitf19d8aa591a4f92054d7fd1af063483f07175a64 (patch)
tree9ee803b15bff4a415b995aae70bdab97557e4757 /src/idle.c
parent907bb8c7fde7da259f5b817af87a79c42b8932d0 (diff)
change the return type of function rt_object_is_systemobject()
using rt_bool_t instead of rt_err_t git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/idle.c')
-rw-r--r--src/idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle.c b/src/idle.c
index 96b743ad90..372461bced 100644
--- a/src/idle.c
+++ b/src/idle.c
@@ -97,7 +97,7 @@ void rt_thread_idle_excute(void)
thread->cleanup(thread);
/* if it's a system object, not delete it */
- if (rt_object_is_systemobject((rt_object_t)thread) == RT_EOK)
+ if (rt_object_is_systemobject((rt_object_t)thread) == RT_TRUE)
{
/* enable interrupt */
rt_hw_interrupt_enable(lock);