From 3b9117204051db318f2c426167c3a888b5a0529a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=85=B3=E5=B9=B322?= Date: Mon, 2 Apr 2018 15:40:56 +0800 Subject: [PATCH] fix a wrong comment --- .../non_os_spi_flash/components/easyflash/inc/ef_cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/env/stm32f10x/non_os_spi_flash/components/easyflash/inc/ef_cfg.h b/demo/env/stm32f10x/non_os_spi_flash/components/easyflash/inc/ef_cfg.h index 7abffcf..04e2f16 100644 --- a/demo/env/stm32f10x/non_os_spi_flash/components/easyflash/inc/ef_cfg.h +++ b/demo/env/stm32f10x/non_os_spi_flash/components/easyflash/inc/ef_cfg.h @@ -85,7 +85,7 @@ #define ENV_AREA_SIZE (1 * EF_ERASE_MIN_SIZE) /* 4K */ #else /* ENV area total bytes size in wear leveling mode. */ - #define ENV_AREA_SIZE (3 * EF_ERASE_MIN_SIZE) /* 16K */ + #define ENV_AREA_SIZE (3 * EF_ERASE_MIN_SIZE) /* 12K */ #endif #else #ifndef EF_ENV_USING_WL_MODE @@ -93,7 +93,7 @@ #define ENV_AREA_SIZE (2 * EF_ERASE_MIN_SIZE) /* 8K */ #else /* ENV area total bytes size in wear leveling and power fail safeguard mode. */ - #define ENV_AREA_SIZE (6 * EF_ERASE_MIN_SIZE) /* 20K */ + #define ENV_AREA_SIZE (6 * EF_ERASE_MIN_SIZE) /* 24K */ #endif #endif /* saved log area size */