提交 56b640ec 编写于 作者: G Grissiom

rm48x50: add vRegTestTask2

上级 2805d315
......@@ -43,6 +43,10 @@ static rt_uint8_t test_thread_stack[512];
static struct rt_thread test_thread;
void vRegTestTask1(void*);
static rt_uint8_t test_thread_stack2[512];
static struct rt_thread test_thread2;
void vRegTestTask2(void*);
int rt_application_init()
{
rt_thread_init(&user_thread, "user1", user_thread_entry, RT_NULL,
......@@ -53,6 +57,10 @@ int rt_application_init()
test_thread_stack, sizeof(test_thread_stack), 8, 20);
rt_thread_startup(&test_thread);
rt_thread_init(&test_thread2, "test2", vRegTestTask2, RT_NULL,
test_thread_stack2, sizeof(test_thread_stack2), 9, 20);
rt_thread_startup(&test_thread2);
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册