fixed a spelling error and format the code in components_init.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2214 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com 2012-07-10 09:52:45 +00:00
parent fdc7dfc768
commit 291c4336d7
1 changed files with 6 additions and 7 deletions

View File

@ -61,12 +61,12 @@ void rt_components_init(void)
#ifdef RT_USING_LWIP #ifdef RT_USING_LWIP
/* initialize lwip stack */ /* initialize lwip stack */
/* register ethernetif device */ /* register ethernetif device */
eth_system_device_init(); eth_system_device_init();
/* initialize lwip system */ /* initialize lwip system */
lwip_system_init(); lwip_system_init();
rt_kprintf("TCP/IP initialized!\n"); rt_kprintf("TCP/IP initialized!\n");
#endif #endif
#ifdef RT_USING_DFS #ifdef RT_USING_DFS
@ -74,7 +74,7 @@ void rt_components_init(void)
dfs_init(); dfs_init();
#ifdef RT_USING_DFS_ELMFAT #ifdef RT_USING_DFS_ELMFAT
/* initialize the elm chan FatFS file systam*/ /* initialize the elm chan FatFS file system*/
elm_init(); elm_init();
#endif #endif
@ -117,7 +117,6 @@ void rt_components_init(void)
rtgui_system_server_init(); rtgui_system_server_init();
#endif #endif
#ifdef RT_USING_USB_HOST #ifdef RT_USING_USB_HOST
rt_usb_host_init(); rt_usb_host_init();
#endif #endif