ls1bdev: init application after other things initialized

This commit is contained in:
Grissiom 2014-08-18 15:17:36 +08:00
parent 259cfdc79f
commit bfc140826a
1 changed files with 4 additions and 4 deletions

View File

@ -64,9 +64,6 @@ void rtthread_startup(void)
/* init scheduler system */ /* init scheduler system */
rt_system_scheduler_init(); rt_system_scheduler_init();
/* init application */
rt_application_init();
/* initialize timer */ /* initialize timer */
rt_system_timer_init(); rt_system_timer_init();
@ -76,11 +73,14 @@ void rtthread_startup(void)
/* init idle thread */ /* init idle thread */
rt_thread_idle_init(); rt_thread_idle_init();
/* init application */
rt_application_init();
/* start scheduler */ /* start scheduler */
rt_system_scheduler_start(); rt_system_scheduler_start();
/* never reach here */ /* never reach here */
return ; return;
} }
/*@}*/ /*@}*/