Skip to content

Commit

Permalink
fixed support virtual devices offboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mdzio committed Oct 29, 2023
1 parent 12aeb36 commit 9a2a995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtdev/virtdev.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (vd *VirtualDevices) Start() {
vd.Devices = vdevices.NewContainer()

// virtual devices handler
vd.deviceHandler = vdevices.NewHandler(cfg.Host.Address, vd.Devices, func(address string) {
vd.deviceHandler = vdevices.NewHandler(cfg.CCU.Address, vd.Devices, func(address string) {
// a device is deleted by the CCU. delete it also in the configuration.
vd.Store.Lock()
defer vd.Store.Unlock()
Expand Down

0 comments on commit 9a2a995

Please sign in to comment.