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:
qiuyiuestc@gmail.com 2011-09-28 04:11:12 +00:00
parent 96049b7e5c
commit 1d2203fce0
1 changed files with 7 additions and 2 deletions

View File

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