TC: delay longer in tc_stop

This commit is contained in:
Grissiom 2013-12-23 10:47:15 +08:00
parent fddbd836b4
commit 21fe463168
1 changed files with 1 additions and 1 deletions

View File

@ -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 */