Skip to content

Commit

Permalink
fix config beeing erased at reboot introduced by Limit
Browse files Browse the repository at this point in the history
fix #558
  • Loading branch information
KipK committed Mar 22, 2023
1 parent 389e8b1 commit d16ccb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,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");
}
Expand Down

0 comments on commit d16ccb0

Please sign in to comment.