Skip to content

Commit

Permalink
DataLogActive is true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 authored Feb 23, 2023
1 parent d5ef085 commit 3960823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ void migrateConfiguration(void) {
if (section == "[DataLogging]") {
migrated = migrated | replace(configLines[i], "DataLogRetentionInDays", "DataFilesRetention");
/* DataLogActive is true by default! */
migrated = migrated | replace(configLines[i], ";DataLogActive = true", ";DataLogActive = true"); // Set it to its default value
migrated = migrated | replace(configLines[i], ";DataLogActive = false", ";DataLogActive = true"); // Set it to its default value
migrated = migrated | replace(configLines[i], ";DataLogActive", "DataLogActive"); // Enable it
}

Expand Down

0 comments on commit 3960823

Please sign in to comment.