Merge pull request #182 from grissiom/fix-timer-init
initialize timer in bsp
This commit is contained in:
commit
ac5da68db7
|
@ -40,6 +40,9 @@ void rtthread_startup(void)
|
|||
/* initialize scheduler system */
|
||||
rt_system_scheduler_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* initialize soft timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -95,6 +95,9 @@ void rtthread_startup(void)
|
|||
/* initialize application */
|
||||
rt_application_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* initialize timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -87,6 +87,9 @@ void rtthread_startup(void)
|
|||
finsh_set_device( FINSH_DEVICE_NAME );
|
||||
#endif
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* initialize timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -72,6 +72,9 @@ void rtthread_startup(void)
|
|||
/* init application */
|
||||
rt_application_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* initialize timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -71,6 +71,9 @@ void rtthread_startup(void)
|
|||
/* initialize application */
|
||||
rt_application_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* initialize timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -80,6 +80,9 @@ void rtthread_startup(void)
|
|||
/* init scheduler system */
|
||||
rt_system_scheduler_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* init timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
|
@ -64,6 +64,9 @@ void rtthread_startup(void)
|
|||
/* init application */
|
||||
rt_application_init();
|
||||
|
||||
/* initialize timer */
|
||||
rt_system_timer_init();
|
||||
|
||||
/* init timer thread */
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
|
|
Loading…
Reference in New Issue