commit 2021-12-16]17:46:11

This commit is contained in:
Godopu 2021-12-16 17:46:13 +09:00
parent 652d936d83
commit 5fa75efee5

2
cli.go
View File

@ -27,7 +27,7 @@ func init() {
devicesWithUUID: devWithUUID,
devicesWithIface: devWithIface,
chanForSync: chanForSync,
SyncListener: &SyncHandler{devices: devWithUUID, chanForSync: chanForSync, mutex: &sync.Mutex{}},
SyncListener: &SyncHandler{devices: devWithUUID, chanForSync: chanForSync, mutex: &sync.Mutex{}, states: map[string]map[string]interface{}{}},
RecvListener: &RecvHandler{devices: devWithIface, chanForSync: chanForSync},
}