Allow min==max current

This commit is contained in:
andig 2022-08-07 12:34:21 +02:00
parent eb0d9ee73e
commit 8af608fd57

View file

@ -189,7 +189,7 @@ func NewLoadPointFromConfig(log *util.Logger, cp configProvider, other map[strin
lp.log.WARN.Println("minCurrent must not be zero")
}
if lp.MaxCurrent <= lp.MinCurrent {
if lp.MaxCurrent < lp.MinCurrent {
lp.log.WARN.Println("maxCurrent must be larger than minCurrent")
}