From 6773015c4a3515d717e4678bd06827a9f2addcb9 Mon Sep 17 00:00:00 2001 From: "nongli1031@gmail.com" Date: Tue, 30 Oct 2012 01:13:54 +0000 Subject: [PATCH] add tc_done() git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- examples/kernel/semaphore_priority.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kernel/semaphore_priority.c b/examples/kernel/semaphore_priority.c index 766c25c51..4ee8d889e 100644 --- a/examples/kernel/semaphore_priority.c +++ b/examples/kernel/semaphore_priority.c @@ -101,9 +101,9 @@ static void _tc_cleanup() rt_thread_delete(worker); if (t1_count > t2_count) - tc_stat(TC_STAT_FAILED); + tc_done(TC_STAT_FAILED); else - tc_stat(TC_STAT_PASSED); + tc_done(TC_STAT_PASSED); /* unlock scheduler */ rt_exit_critical();