From f19d8aa591a4f92054d7fd1af063483f07175a64 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Sat, 2 Jun 2012 09:20:19 +0000 Subject: 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 --- src/idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idle.c') 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); -- cgit v1.3.1