Skip to content

Commit

Permalink
Make parameter saving work
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat committed Dec 15, 2024
1 parent 8dbc50b commit 005f3e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Software/Software.ino
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,6 @@ void init_stored_settings() {
datalayer.battery.settings.max_user_set_discharge_dA = temp;
}
datalayer.battery.settings.soc_scaling_active = settings.getBool("USE_SCALED_SOC", false);
settings.end();

settings.begin("batteryExtra", false);
temp = settings.getUInt("TARGETCHVOLT", false);
if (temp != 0) {
datalayer.battery.settings.max_user_set_charge_voltage_dV = temp;
Expand Down

0 comments on commit 005f3e6

Please sign in to comment.