mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 17:13:32 +08:00
ls1bdev: init application after other things initialized
This commit is contained in:
parent
259cfdc79f
commit
bfc140826a
@ -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;
|
||||
}
|
||||
|
||||
/*@}*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user