mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
first commit using PsychicHttp
This commit is contained in:
@@ -63,6 +63,10 @@ class FSPersistence {
|
||||
// serialize it to filesystem
|
||||
File settingsFile = _fs->open(_filePath, "w");
|
||||
|
||||
#ifdef EMSESP_DEBUG
|
||||
Serial.println("Writing settings to " + String(_filePath));
|
||||
#endif
|
||||
|
||||
// failed to open file, return false
|
||||
if (!settingsFile || !jsonObject.size()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user