diff options
| author | [email protected] <[email protected]> | 2012-10-30 01:13:54 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-10-30 01:13:54 +0000 |
| commit | 6773015c4a3515d717e4678bd06827a9f2addcb9 (patch) | |
| tree | e17c1abfd613d475b44ccd2ec411e7829f48d662 /examples/kernel | |
| parent | aa0d3695e137c83f0622c926256951948844f947 (diff) | |
add tc_done()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel')
| -rw-r--r-- | examples/kernel/semaphore_priority.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/kernel/semaphore_priority.c b/examples/kernel/semaphore_priority.c index 766c25c514..4ee8d889e3 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();
|
