Skip to content

Commit

Permalink
fix: assign char handle write event
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartermel committed May 27, 2024
1 parent abbb565 commit f1c1536
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 f1c1536

Please sign in to comment.