From 3960823439ec5136bff730692bcc17cf9a8e4f0c Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Thu, 23 Feb 2023 23:38:36 +0100 Subject: [PATCH] DataLogActive is true by default --- code/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/main/main.cpp b/code/main/main.cpp index e5e5f5cce..a5794ba6a 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -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 }