add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
96049b7e5c
commit
1d2203fce0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue