提交 bfc14082 编写于 作者: G Grissiom

ls1bdev: init application after other things initialized

上级 259cfdc7
......@@ -64,9 +64,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
/* init application */
rt_application_init();
/* initialize timer */
rt_system_timer_init();
......@@ -76,11 +73,14 @@ void rtthread_startup(void)
/* init idle thread */
rt_thread_idle_init();
/* init application */
rt_application_init();
/* start scheduler */
rt_system_scheduler_start();
/* never reach here */
return ;
return;
}
/*@}*/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册