Browse Source

fix compile error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1253 bbd45198-f89e-11dd-88c7-29a3b14d5316
iamyhw@gmail.com 14 years ago
parent
commit
d20a26430d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      bsp/mini2440/application.c
  2. 1 1
      bsp/mini2440/startup.c

+ 1 - 1
bsp/mini2440/application.c

@@ -99,7 +99,7 @@ void rt_init_thread_entry(void* parameter)
 		#endif
 #endif
 
-#if defined(RT_USING_UFFS)
+#if defined(RT_USING_DFS_UFFS)
 	{
 		/* init the uffs filesystem */
 		dfs_uffs_init();

+ 1 - 1
bsp/mini2440/startup.c

@@ -119,7 +119,7 @@ void rtthread_startup(void)
 	
 #ifdef RT_USING_DFS
 	rt_hw_sdcard_init();
-#ifdef RT_USING_UFFS
+#ifdef RT_USING_DFS_UFFS
 	rt_hw_nand_init();
 #endif
 #endif