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 #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();