Skip to content

Commit f19e5b5

Browse files
committed
Fix AndroidCentral.scan()
1 parent 9c40fd1 commit f19e5b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/AndroidBluetooth/AndroidCentral.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ public final class AndroidCentral: CentralManager {
7878
$0.scan.peripherals.removeAll()
7979
$0.scan.continuation = continuation
8080
}
81-
let scanCallBack = ScanCallback()
82-
// TODO: Implement callbacks
83-
//scanCallBack.central = self
81+
let scanCallBack = LowEnergyScanCallback(central: self)
8482
scanner.startScan(scanCallBack)
8583
}
8684
})

0 commit comments

Comments
 (0)