From e3f5329ea5d32b9c85f7a7489aa4740428cf69db Mon Sep 17 00:00:00 2001 From: VietDzung Date: Thu, 3 Jul 2025 14:35:59 +0700 Subject: [PATCH] Make NVS namespace and key match Arduino ESP32 EEPROM with ESP IDF support for backward compatible --- src/esp32_idf_platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/esp32_idf_platform.h b/src/esp32_idf_platform.h index dfb01b0..b3fc5e6 100644 --- a/src/esp32_idf_platform.h +++ b/src/esp32_idf_platform.h @@ -79,7 +79,7 @@ class Esp32IdfPlatform : public Platform nvs_handle_t _nvs_handle; uint8_t* _eeprom_buffer = nullptr; uint32_t _eeprom_size = 0; - const char* _nvs_namespace = "knx_eeprom"; - const char* _nvs_key = "data"; + const char* _nvs_namespace = "eeprom"; + const char* _nvs_key = "eeprom"; }; #endif \ No newline at end of file