Browse Source

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
dzzxzz@gmail.com 13 years ago
parent
commit
291c4336d7
1 changed files with 6 additions and 7 deletions
  1. 6 7
      components/init/components_init.c

+ 6 - 7
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