chore: remove unneeded lock
This commit is contained in:
parent
a3b0d7c3c9
commit
0fc30682ea
1 changed files with 0 additions and 3 deletions
|
|
@ -471,9 +471,6 @@ func (lp *Loadpoint) StartVehicleDetection() {
|
|||
// reset vehicle
|
||||
lp.setActiveVehicle(nil)
|
||||
|
||||
lp.Lock()
|
||||
defer lp.Unlock()
|
||||
|
||||
// start auto-detect
|
||||
lp.startVehicleDetection()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue