added some debug log messages

This commit is contained in:
proddy
2024-03-13 17:50:33 +01:00
parent 287232be5c
commit bc232fcff2

View File

@@ -32,8 +32,11 @@ class FSPersistence {
settingsFile.close();
}
// If we reach here we have not been successful in loading the config,
// hard-coded emergency defaults are now applied.
// If we reach here we have not been successful in loading the config,
// hard-coded emergency defaults are now applied.
#ifdef EMSESP_DEBUG
Serial.println("Applying defaults to " + String(_filePath));
#endif
applyDefaults();
writeToFS(); // added to make sure the initial file is created
}