From 6de2d5fe9f8685ea55787862e69e77818801e65b Mon Sep 17 00:00:00 2001 From: "goprife@gmail.com" Date: Sun, 2 Dec 2012 14:28:53 +0000 Subject: [PATCH] remove part of uffs configuration to rtconfig.h git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2464 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/filesystems/uffs/dfs_uffs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/dfs/filesystems/uffs/dfs_uffs.h b/components/dfs/filesystems/uffs/dfs_uffs.h index 8b157316e9..650ea2cfbb 100644 --- a/components/dfs/filesystems/uffs/dfs_uffs.h +++ b/components/dfs/filesystems/uffs/dfs_uffs.h @@ -13,10 +13,11 @@ #define UFFS_BLOCK_MARK_SPARE_OFFSET 4 /* indicate block bad or good, offset in spare */ -#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_SOFT +//#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_SOFT +//#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_NONE /* enable this ,you need provide a mark_badblock/check_block funciton */ -#define RT_UFFS_USE_CHECK_MARK_FUNCITON +//#define RT_UFFS_USE_CHECK_MARK_FUNCITON #if RT_CONFIG_UFFS_ECC_MODE == UFFS_ECC_SOFT /* let uffs do soft ecc */