From d20a26430df0552ebb92774b3da1222809ef6ac7 Mon Sep 17 00:00:00 2001 From: "iamyhw@gmail.com" Date: Fri, 21 Jan 2011 14:14:32 +0000 Subject: [PATCH] fix compile error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1253 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/mini2440/application.c | 2 +- bsp/mini2440/startup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/mini2440/application.c b/bsp/mini2440/application.c index 5c6ddbea7f..6c7f73e1f9 100644 --- a/bsp/mini2440/application.c +++ b/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(); diff --git a/bsp/mini2440/startup.c b/bsp/mini2440/startup.c index 24a6ef56ac..e9e237987d 100644 --- a/bsp/mini2440/startup.c +++ b/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