Skip to content

Commit

Permalink
fix: assign char handle write event (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartermel authored May 29, 2024
1 parent c26c9d5 commit d46f2cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gatts_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit d46f2cc

Please sign in to comment.