From 9cdf989c59257c06f46a36c6ee939be18363f857 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Fri, 27 Dec 2013 16:25:14 +0800 Subject: [PATCH] BBB: init timer on startup It could fix the problem encountered in https://groups.google.com/forum/?hl=en#!topic/rt-thread-cnusers/tpqZOMsIp8I --- bsp/beaglebone/applications/startup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp/beaglebone/applications/startup.c b/bsp/beaglebone/applications/startup.c index a34e406a0a..2abc0430b6 100644 --- a/bsp/beaglebone/applications/startup.c +++ b/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 */