mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-24 19:21:38 +01:00
Remove not required F() macro. Frees ~20kb flash.
This commit is contained in:
@@ -128,7 +128,7 @@ bool ConfigurationClass::read()
|
||||
// Deserialize the JSON document
|
||||
DeserializationError error = deserializeJson(doc, f);
|
||||
if (error) {
|
||||
MessageOutput.println(F("Failed to read file, using default configuration"));
|
||||
MessageOutput.println("Failed to read file, using default configuration");
|
||||
}
|
||||
|
||||
JsonObject cfg = doc["cfg"];
|
||||
@@ -255,7 +255,7 @@ void ConfigurationClass::migrate()
|
||||
{
|
||||
File f = LittleFS.open(CONFIG_FILENAME, "r", false);
|
||||
if (!f) {
|
||||
MessageOutput.println(F("Failed to open file, cancel migration"));
|
||||
MessageOutput.println("Failed to open file, cancel migration");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user