fix 1732, move"#endif" to line 103 from line 106 in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1820 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
462cfdc3e0
commit
6cf91f04f6
|
@ -15,12 +15,12 @@
|
||||||
#include <rthw.h>
|
#include <rthw.h>
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
|
|
||||||
#ifdef RT_USING_LWIP
|
#ifdef RT_USING_LWIP
|
||||||
#include <lwip/sys.h>
|
#include <lwip/sys.h>
|
||||||
#include <netif/ethernetif.h>
|
#include <netif/ethernetif.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup LM3S
|
* @addtogroup LM3S
|
||||||
|
@ -36,7 +36,7 @@ extern void finsh_set_device(char* device);
|
||||||
|
|
||||||
extern int rt_application_init(void);
|
extern int rt_application_init(void);
|
||||||
extern void rt_hw_sdcard_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
|
#ifdef __CC_ARM
|
||||||
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
||||||
|
@ -100,10 +100,10 @@ void rtthread_startup(void)
|
||||||
#ifdef RT_USING_MODULE
|
#ifdef RT_USING_MODULE
|
||||||
/* init module system */
|
/* init module system */
|
||||||
rt_system_module_init();
|
rt_system_module_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* init scheduler system */
|
/* init scheduler system */
|
||||||
rt_system_scheduler_init();
|
rt_system_scheduler_init();
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RT_USING_LWIP
|
#ifdef RT_USING_LWIP
|
||||||
eth_system_device_init();
|
eth_system_device_init();
|
||||||
|
|
Loading…
Reference in New Issue