ソースを参照

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 年 前
コミット
9cdf989c59
1 ファイル変更2 行追加1 行削除
  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 */
     /* initialize timer */
     rt_system_timer_init();
     rt_system_timer_init();
 
 
-	/* initialize soft timer thread */
+	/* initialize timer */
+	rt_system_timer_init();
 	rt_system_timer_thread_init();
 	rt_system_timer_thread_init();
 
 
 	/* initialize application */
 	/* initialize application */