mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
added some debug log messages
This commit is contained in:
@@ -34,6 +34,9 @@ class FSPersistence {
|
|||||||
|
|
||||||
// If we reach here we have not been successful in loading the config,
|
// If we reach here we have not been successful in loading the config,
|
||||||
// hard-coded emergency defaults are now applied.
|
// hard-coded emergency defaults are now applied.
|
||||||
|
#ifdef EMSESP_DEBUG
|
||||||
|
Serial.println("Applying defaults to " + String(_filePath));
|
||||||
|
#endif
|
||||||
applyDefaults();
|
applyDefaults();
|
||||||
writeToFS(); // added to make sure the initial file is created
|
writeToFS(); // added to make sure the initial file is created
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user