chore: drop duplicate scale up call (#14410)
This commit is contained in:
parent
eb63259581
commit
a8f95ef6d0
1 changed files with 0 additions and 3 deletions
|
|
@ -1149,9 +1149,6 @@ func (lp *Loadpoint) pvScalePhases(sitePower, minCurrent, maxCurrent float64) in
|
|||
lp.publishTimer(phaseTimer, lp.Enable.Delay, phaseScale3p)
|
||||
|
||||
if elapsed := lp.clock.Since(lp.phaseTimer); elapsed >= lp.Enable.Delay {
|
||||
if err := lp.scalePhases(3); err != nil {
|
||||
lp.log.ERROR.Println(err)
|
||||
}
|
||||
if err := lp.scalePhases(3); err != nil {
|
||||
lp.log.ERROR.Println(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue