This commit is contained in:
proddy
2020-11-14 12:49:10 +01:00
parent 5219cf60f1
commit 842683aae1
2 changed files with 23 additions and 22 deletions

View File

@@ -66,10 +66,12 @@ class FSPersistence {
return false;
}
// debug added by Proddy
// Serial.printf("Write File: %s: ", _filePath);
// serializeJson(jsonDocument, Serial);
// Serial.println();
// debug added by Proddy
#if defined(EMSESP_FORCE_SERIAL)
Serial.printf("Write File: %s: ", _filePath);
serializeJson(jsonDocument, Serial);
Serial.println();
#endif
// serialize the data to the file
serializeJson(jsonDocument, settingsFile);