chore: use api
This commit is contained in:
parent
20e0fba139
commit
72439a5774
1 changed files with 1 additions and 1 deletions
|
|
@ -818,7 +818,7 @@ func (site *Site) update(lp updater) {
|
|||
site.log.ERROR.Println(err)
|
||||
}
|
||||
|
||||
if site.batteryDischargeControl {
|
||||
if site.GetBatteryDischargeControl() {
|
||||
site.updateBatteryMode()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue