added debug when writing FS

This commit is contained in:
proddy
2020-09-05 20:49:49 +02:00
parent 578054046c
commit 5a265e815a

View File

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