This commit is contained in:
proddy
2023-01-06 21:51:17 +01:00
parent fcd221a9b0
commit 95c5fb7391
27 changed files with 919 additions and 542 deletions

View File

@@ -81,7 +81,7 @@ class FSPersistence {
File settingsFile = _fs->open(_filePath, "w");
// failed to open file, return false
if (!settingsFile) {
if (!settingsFile || !jsonObject.size()) {
#if defined(EMSESP_DEBUG)
#if defined(EMSESP_USE_SERIAL)
Serial.println();