use nvs partition label

This commit is contained in:
MichaelDvP
2023-10-03 10:59:27 +02:00
parent 208be85304
commit bd851f9005

View File

@@ -1476,6 +1476,7 @@ void EMSESP::start() {
esp8266React.begin(); // loads core system services settings (network, mqtt, ap, ntp etc)
webLogService.begin(); // start web log service. now we can start capturing logs to the web log
nvs_.begin("ems-esp", false, "nvs");
LOG_INFO("Starting EMS-ESP version %s", EMSESP_APP_VERSION); // welcome message
LOG_DEBUG("System is running in Debug mode");
@@ -1487,7 +1488,6 @@ void EMSESP::start() {
system_.system_restart();
};
nvs_.begin("ems-esp");
webSettingsService.begin(); // load EMS-ESP Application settings...
// do any system upgrades