diff options
| author | dzzxzz <[email protected]> | 2011-09-26 02:50:43 +0000 |
|---|---|---|
| committer | dzzxzz <[email protected]> | 2011-09-26 02:50:43 +0000 |
| commit | 9bb329daee2f842a724d3cdede9413a839e5069c (patch) | |
| tree | b99b0af5cb1b5fa0b3ce26d9837636bef12aeece /examples/kernel/thread_static_simple.c | |
| parent | b886a19bf95701b73f0e191b190d28795c5a8cfc (diff) | |
update kernel examples
fixed an error in timer_control.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1730 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel/thread_static_simple.c')
| -rw-r--r-- | examples/kernel/thread_static_simple.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/kernel/thread_static_simple.c b/examples/kernel/thread_static_simple.c index dc2e612dbc..61005fd23b 100644 --- a/examples/kernel/thread_static_simple.c +++ b/examples/kernel/thread_static_simple.c @@ -72,6 +72,9 @@ static void _tc_cleanup() /* 调度器解锁 */
rt_exit_critical();
+
+ /* 设置TestCase状态 */
+ tc_done(TC_STAT_PASSED);
}
int _tc_thread_static_simple()
|
