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:
parent
fdc7dfc768
commit
291c4336d7
|
@ -61,12 +61,12 @@ void rt_components_init(void)
|
|||
|
||||
#ifdef RT_USING_LWIP
|
||||
/* initialize lwip stack */
|
||||
/* register ethernetif device */
|
||||
eth_system_device_init();
|
||||
/* register ethernetif device */
|
||||
eth_system_device_init();
|
||||
|
||||
/* initialize lwip system */
|
||||
lwip_system_init();
|
||||
rt_kprintf("TCP/IP initialized!\n");
|
||||
/* initialize lwip system */
|
||||
lwip_system_init();
|
||||
rt_kprintf("TCP/IP initialized!\n");
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_DFS
|
||||
|
@ -74,7 +74,7 @@ void rt_components_init(void)
|
|||
dfs_init();
|
||||
|
||||
#ifdef RT_USING_DFS_ELMFAT
|
||||
/* initialize the elm chan FatFS file systam*/
|
||||
/* initialize the elm chan FatFS file system*/
|
||||
elm_init();
|
||||
#endif
|
||||
|
||||
|
@ -117,7 +117,6 @@ void rt_components_init(void)
|
|||
rtgui_system_server_init();
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef RT_USING_USB_HOST
|
||||
rt_usb_host_init();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue