Просмотр исходного кода

Merge pull request #224 from grissiom/BBB

BBB: init timer on startup
Bernard Xiong 11 лет назад
Родитель
Сommit
939176d13a
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 */
     rt_system_timer_init();
 
-	/* initialize soft timer thread */
+	/* initialize timer */
+	rt_system_timer_init();
 	rt_system_timer_thread_init();
 
 	/* initialize application */