Skip to content

Commit

Permalink
DPL: apply inverter upper limit as total limit when upgrading
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Nov 17, 2024
1 parent 59ab971 commit 8de7cee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ bool ConfigurationClass::read()
inv.LowerPowerLimit = powerlimiter["lower_power_limit"] | POWERLIMITER_LOWER_POWER_LIMIT;
inv.UpperPowerLimit = powerlimiter["upper_power_limit"] | POWERLIMITER_UPPER_POWER_LIMIT;

config.PowerLimiter.TotalUpperPowerLimit = inv.UpperPowerLimit;

config.PowerLimiter.Inverters[1].Serial = 0;
}

Expand Down

0 comments on commit 8de7cee

Please sign in to comment.