From 44e9a48f1d4f5e564478048dd63e6c0f50fb4e41 Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Tue, 26 Jan 2021 17:04:47 +0800 Subject: [PATCH] Enlarge ECC/DATA layout array size. --- components/dfs/filesystems/uffs/src/inc/uffs/uffs_flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dfs/filesystems/uffs/src/inc/uffs/uffs_flash.h b/components/dfs/filesystems/uffs/src/inc/uffs/uffs_flash.h index 1d0344ff8b..844d8ea231 100644 --- a/components/dfs/filesystems/uffs/src/inc/uffs/uffs_flash.h +++ b/components/dfs/filesystems/uffs/src/inc/uffs/uffs_flash.h @@ -62,7 +62,7 @@ extern "C"{ #define UFFS_LAYOUT_UFFS 0 //!< do layout by dev->attr information #define UFFS_LAYOUT_FLASH 1 //!< flash driver do the layout -#define UFFS_SPARE_LAYOUT_SIZE 6 //!< maximum spare layout array size, 2 segments +#define UFFS_SPARE_LAYOUT_SIZE 16 //!< maximum spare layout array size, 2 segments /** flash operation return code */ #define UFFS_FLASH_NO_ERR 0 //!< no error