Skip to content

Commit

Permalink
#160 Fixed GATTClient Swift 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 4, 2024
1 parent 7e742ac commit 9b28dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/BluetoothGATT/GATTClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ public actor GATTClient {
private func registerATTHandlers() async {

// value notifications / indications
await connection.register { [unowned self] in
await connection.register {
self.notification($0)
}
await connection.register { [unowned self] in
await connection.register {
await self.indication($0)
}
}
Expand Down

0 comments on commit 9b28dae

Please sign in to comment.