mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
added debug when writing FS
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user