Make NVS namespace and key match Arduino ESP32 EEPROM with ESP IDF support for backward compatible

This commit is contained in:
VietDzung 2025-07-03 14:35:59 +07:00
parent 549b4df975
commit e3f5329ea5

View File

@ -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