diff options
| author | Grissiom <[email protected]> | 2013-12-27 16:25:14 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-12-27 16:25:14 +0800 |
| commit | 9cdf989c59257c06f46a36c6ee939be18363f857 (patch) | |
| tree | defebe30cbd8e80e1fb084f4de8864c07ac65f05 /bsp/beaglebone | |
| parent | 259baec2385d66c95cd1fcee855b5a7391de2011 (diff) | |
BBB: init timer on startup
It could fix the problem encountered in
https://groups.google.com/forum/?hl=en#!topic/rt-thread-cnusers/tpqZOMsIp8I
Diffstat (limited to 'bsp/beaglebone')
| -rw-r--r-- | bsp/beaglebone/applications/startup.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |
