提交 3164e33d 编写于 作者: B Bernard Xiong

Update and rename application.c to main.c

上级 741346e3
/* /*
* File : application.c * File : main.c
* This file is part of RT-Thread RTOS * This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2015, RT-Thread Development Team * COPYRIGHT (C) 2015, RT-Thread Development Team
* *
...@@ -25,20 +25,9 @@ ...@@ -25,20 +25,9 @@
#include <rtthread.h> #include <rtthread.h>
void rt_init_thread_entry(void *parameter)
{
//rt_components_init();
}
//int rt_application_init()
int main(void) int main(void)
{ {
rt_thread_t tid; /* put user application code here */
tid = rt_thread_create("init",
rt_init_thread_entry, RT_NULL,
2048, RT_THREAD_PRIORITY_MAX / 3, 20);
if (tid != RT_NULL) rt_thread_startup(tid);
return 0; return 0;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册