diff --git a/bsp/lm3s8962/startup.c b/bsp/lm3s8962/startup.c index b4c7e3e468..a38733494f 100644 --- a/bsp/lm3s8962/startup.c +++ b/bsp/lm3s8962/startup.c @@ -15,12 +15,12 @@ #include #include -#include "board.h" +#include "board.h" -#ifdef RT_USING_LWIP -#include -#include -#endif +#ifdef RT_USING_LWIP +#include +#include +#endif /** * @addtogroup LM3S @@ -36,7 +36,7 @@ extern void finsh_set_device(char* device); extern int rt_application_init(void); extern void rt_hw_sdcard_init(void); -extern int rt_hw_luminaryif_init(void); +extern int rt_hw_luminaryif_init(void); #ifdef __CC_ARM extern int Image$$RW_IRAM1$$ZI$$Limit; @@ -100,10 +100,10 @@ void rtthread_startup(void) #ifdef RT_USING_MODULE /* init module system */ rt_system_module_init(); +#endif /* init scheduler system */ rt_system_scheduler_init(); -#endif #ifdef RT_USING_LWIP eth_system_device_init();