From 21fe46316894013d214303e5793cea77f449b525 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Mon, 23 Dec 2013 10:47:15 +0800 Subject: [PATCH] TC: delay longer in tc_stop --- examples/kernel/tc_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kernel/tc_comm.c b/examples/kernel/tc_comm.c index 7b2f7e6903..f6493389a6 100644 --- a/examples/kernel/tc_comm.c +++ b/examples/kernel/tc_comm.c @@ -93,7 +93,7 @@ void tc_stop() { _tc_loop = 0; - rt_thread_delay(RT_TICK_PER_SECOND/2); + rt_thread_delay(10 * RT_TICK_PER_SECOND); if (_tc_thread.stat != RT_THREAD_INIT) { /* lock scheduler */