|
|
@ -23,7 +23,7 @@ void thread_RUN_LED(void) |
|
|
|
{ |
|
|
|
/* 初始化线程 1,名称是 thread1,入口是 thread1_entry*/ |
|
|
|
rt_thread_t tid; |
|
|
|
tid = rt_thread_create("led", RUN_LED, RT_NULL, 512, 3, 10); |
|
|
|
tid = rt_thread_create("run_led", RUN_LED, RT_NULL, 512, 3, 10); |
|
|
|
|
|
|
|
if (tid != RT_NULL) |
|
|
|
{ |
|
|
|