mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
Support upgrade/downgrade between versions #832
This commit is contained in:
@@ -41,7 +41,6 @@ class FSPersistence {
|
||||
Serial.println();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
_statefulService->updateWithoutPropagation(jsonObject, _stateUpdater);
|
||||
settingsFile.close();
|
||||
return;
|
||||
@@ -96,6 +95,7 @@ class FSPersistence {
|
||||
// debug added by Proddy
|
||||
#if defined(EMSESP_DEBUG)
|
||||
#if defined(EMSESP_USE_SERIAL)
|
||||
Serial.println();
|
||||
Serial.printf("Writing to file: %s: ", _filePath);
|
||||
serializeJson(jsonDocument, Serial);
|
||||
Serial.println();
|
||||
|
||||
Reference in New Issue
Block a user