fix test_thread_yield fail bug in multiple utest loop case.
Signed-off-by: fan.ji <fan.ji@weiheng-tech.com>
This commit is contained in:
parent
e01776ea76
commit
dff06ff603
|
@ -259,6 +259,7 @@ static void thread6_entry(void *parameter)
|
|||
static void test_thread_yield(void)
|
||||
{
|
||||
rt_err_t ret_startup = -RT_ERROR;
|
||||
thread5_source = 0;
|
||||
tid5 = rt_thread_create("thread5",
|
||||
thread5_entry,
|
||||
RT_NULL,
|
||||
|
|
Loading…
Reference in New Issue