diff --git a/code/main/main.cpp b/code/main/main.cpp index 1c23cd72e..7d110df9d 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -642,7 +642,6 @@ void migrateConfiguration(void) { /* Fieldname has a as prefix! */ if (isInString(configLines[i], "Fieldname")) { // It is the parameter "Fieldname" migrated = migrated | replaceString(configLines[i], "Fieldname", "Field"); // Rename it to Field - migrated = migrated | replaceString(configLines[i], ";", ""); // Enable it } } @@ -650,12 +649,10 @@ void migrateConfiguration(void) { /* Fieldname has a as prefix! */ if (isInString(configLines[i], "Fieldname")) { // It is the parameter "Fieldname" migrated = migrated | replaceString(configLines[i], "Fieldname", "Field"); // Rename it to Field - migrated = migrated | replaceString(configLines[i], ";", ""); // Enable it } /* Database got renamed to Basket! */ if (isInString(configLines[i], "Database")) { // It is the parameter "Database" migrated = migrated | replaceString(configLines[i], "Database", "Basket"); // Rename it to Basket - migrated = migrated | replaceString(configLines[i], ";", ""); // Enable it } } @@ -819,4 +816,4 @@ bool setCpuFrequency(void) { } return true; -} \ No newline at end of file +}