fix: assign char handle write event (#274)
This commit is contained in:
parent
c26c9d5630
commit
d46f2cc206
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ func (a *Adapter) AddService(s *Service) error {
|
||||||
char.Handle.value = char.Value
|
char.Handle.value = char.Value
|
||||||
char.Handle.valueMtx = &sync.Mutex{}
|
char.Handle.valueMtx = &sync.Mutex{}
|
||||||
char.Handle.flags = char.Flags
|
char.Handle.flags = char.Flags
|
||||||
|
char.Handle.writeEvent = char.WriteEvent
|
||||||
goChars[uuid] = char.Handle
|
goChars[uuid] = char.Handle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue