diff --git a/bsp/mini2440/application.c b/bsp/mini2440/application.c index 5c6ddbea7f55ed306babe9151b331efa1e67e5f8..6c7f73e1f93f9399246757ec44ea886a35a4460d 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 24a6ef56ace5328a4972e2b5baa6f8115e5eb2e5..e9e237987d3691c7f89744f29cf45b20616b3b5d 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