diff options
| author | [email protected] <[email protected]> | 2011-09-28 04:11:12 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-09-28 04:11:12 +0000 |
| commit | 1d2203fce05d7f7d13c0eb5bd9b96056ad7ed8d2 (patch) | |
| tree | 227ceb3e40634cc71b5d5c1e12641ba984da3abd | |
| parent | 96049b7e5c2475f44f49fb1a25a8b06eba9fc231 (diff) | |
add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | bsp/lm3s8962/startup.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bsp/lm3s8962/startup.c b/bsp/lm3s8962/startup.c index 5f74e3e426..b4c7e3e468 100644 --- a/bsp/lm3s8962/startup.c +++ b/bsp/lm3s8962/startup.c @@ -15,8 +15,8 @@ #include <rthw.h> #include <rtthread.h> -#include "board.h" -
+#include "board.h"
+ #ifdef RT_USING_LWIP
#include <lwip/sys.h>
#include <netif/ethernetif.h>
@@ -97,8 +97,13 @@ void rtthread_startup(void) #endif #endif +#ifdef RT_USING_MODULE + /* init module system */ + rt_system_module_init(); + /* init scheduler system */ rt_system_scheduler_init(); +#endif #ifdef RT_USING_LWIP eth_system_device_init(); |
