diff --git a/cli.go b/cli.go index 114d62f..19df22d 100644 --- a/cli.go +++ b/cli.go @@ -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}, }