From 915f1adc935000cec5a84d34e5c24c5a27c24bfc Mon Sep 17 00:00:00 2001 From: MikeMao <309368@gmail.com> Date: Mon, 18 Aug 2014 10:11:32 +0800 Subject: [PATCH] [BSP]BM9BF618S:fix timer initialization issue. --- bsp/mb9bf618s/applications/startup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsp/mb9bf618s/applications/startup.c b/bsp/mb9bf618s/applications/startup.c index c0e8a9b86b..36ba16b1f7 100644 --- a/bsp/mb9bf618s/applications/startup.c +++ b/bsp/mb9bf618s/applications/startup.c @@ -43,6 +43,9 @@ void rtthread_startup(void) /* show version */ rt_show_version(); + + /* init timer system */ + rt_system_timer_init(); #ifdef RT_USING_HEAP #ifdef __CC_ARM @@ -59,7 +62,6 @@ void rtthread_startup(void) rt_system_scheduler_init(); /* init timer thread */ - rt_system_timer_init(); rt_system_timer_thread_init(); /* init application */ -- GitLab