Loadpoint: fix reentrant lock
Follow-up to https://github.com/evcc-io/evcc/pull/18669
This commit is contained in:
parent
8d3d42b997
commit
3b30b2773a
1 changed files with 1 additions and 1 deletions
|
|
@ -999,7 +999,7 @@ func (lp *Loadpoint) minSocNotReached() bool {
|
|||
}
|
||||
|
||||
minEnergy := v.Capacity() * float64(minSoc) / 100 / soc.ChargeEfficiency
|
||||
return minEnergy > 0 && lp.GetChargedEnergy() < minEnergy
|
||||
return minEnergy > 0 && lp.getChargedEnergy() < minEnergy
|
||||
}
|
||||
|
||||
// disableUnlessClimater disables the charger unless climate is active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue