进程run_led
This commit is contained in:
1 parent
fd05dbf01b
commit
56354e9e02
1 file changed
+1
-1
@@ -23,7 +23,7 @@ void thread_RUN_LED(void)
|
|||||||
{
|
{
|
||||||
/* 初始化线程 1,名称是 thread1,入口是 thread1_entry*/
|
/* 初始化线程 1,名称是 thread1,入口是 thread1_entry*/
|
||||||
rt_thread_t tid;
|
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)
|
if (tid != RT_NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user