From 5155bb1e3ef112cc3def0ef0d102a8ffd1798faa Mon Sep 17 00:00:00 2001 From: KipK Date: Wed, 22 Mar 2023 12:45:58 +0100 Subject: [PATCH] fix config beeing erased at reboot introduced by Limit fix #558 --- src/app_config.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app_config.cpp b/src/app_config.cpp index a46e2145..8f207f57 100644 --- a/src/app_config.cpp +++ b/src/app_config.cpp @@ -307,9 +307,6 @@ void config_changed(String name) limitprops.setValue(limit_default_value); limitprops.setAutoRelease(false); if (limitType == LimitType::None) { - uint32_t val = 0; - config_set("limit_default_value", val); - config_commit(); limit.clear(); DBUGLN("No limit to set"); }