From 291c4336d7d783721b1f06d59f8229b50c0a4268 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Tue, 10 Jul 2012 09:52:45 +0000 Subject: [PATCH] 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 --- components/init/components_init.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/components/init/components_init.c b/components/init/components_init.c index 0117db2366..b9414d3f6e 100644 --- a/components/init/components_init.c +++ b/components/init/components_init.c @@ -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 -- GitLab