Browse Source

BBB: init timer on startup

It could fix the problem encountered in
https://groups.google.com/forum/?hl=en#!topic/rt-thread-cnusers/tpqZOMsIp8I
Grissiom 11 years ago
parent
commit
9cdf989c59
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bsp/beaglebone/applications/startup.c

+ 2 - 1
bsp/beaglebone/applications/startup.c

@@ -43,7 +43,8 @@ void rtthread_startup(void)
     /* initialize timer */
     rt_system_timer_init();
 
-	/* initialize soft timer thread */
+	/* initialize timer */
+	rt_system_timer_init();
 	rt_system_timer_thread_init();
 
 	/* initialize application */