fix: assign char handle write event (#274)

This commit is contained in:
Carter Melnychuk 2024-05-29 14:01:47 -06:00 committed by GitHub
parent c26c9d5630
commit d46f2cc206
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -216,6 +216,7 @@ func (a *Adapter) AddService(s *Service) error {
char.Handle.value = char.Value
char.Handle.valueMtx = &sync.Mutex{}
char.Handle.flags = char.Flags
char.Handle.writeEvent = char.WriteEvent
goChars[uuid] = char.Handle
}
}