diff --git a/bsp/lm3s8962/startup.c b/bsp/lm3s8962/startup.c index 5f74e3e4268051db8637922932a5d040c8515164..b4c7e3e468bfdc98fc3756081f93cb58b697c685 100644 --- a/bsp/lm3s8962/startup.c +++ b/bsp/lm3s8962/startup.c @@ -15,8 +15,8 @@ #include #include -#include "board.h" - +#include "board.h" + #ifdef RT_USING_LWIP #include #include @@ -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();