From 24ef629e02c3524a501596c4961d0b2cab3e4cae Mon Sep 17 00:00:00 2001 From: shchen-Lab Date: Tue, 21 Nov 2023 16:15:05 +0800 Subject: [PATCH] Add lfs easyflash reset at BLConfig_littlefs.cpp --- src/platform/bouffalolab/common/BLConfig_littlefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/bouffalolab/common/BLConfig_littlefs.cpp b/src/platform/bouffalolab/common/BLConfig_littlefs.cpp index 4580dc595706f3..e1af8b76a7f8f7 100644 --- a/src/platform/bouffalolab/common/BLConfig_littlefs.cpp +++ b/src/platform/bouffalolab/common/BLConfig_littlefs.cpp @@ -127,7 +127,7 @@ CHIP_ERROR BLConfig::ClearConfigValue(const char * key) CHIP_ERROR BLConfig::FactoryResetConfig(void) { - ef_del_env(""); + ef_env_set_default(); return CHIP_NO_ERROR; }