File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,7 @@ export class BluetoothDeviceWrapper implements Logging {
208208 try {
209209 // Fail immediately if disconnect occurs whilst connecting.
210210 await this . raceDisconnectAndTimeout (
211- BleClient . connect ( this . device . deviceId , this . handleDisconnectEvent , {
212- timeout : connectTimeoutInMs ,
213- } ) ,
211+ BleClient . connect ( this . device . deviceId , this . handleDisconnectEvent ) ,
214212 {
215213 actionName : "connect internal" ,
216214 timeout : connectTimeoutInMs ,
@@ -533,6 +531,7 @@ export class BluetoothDeviceWrapper implements Logging {
533531 justBonded = true ;
534532 }
535533 await this . connectInternal ( ) ;
534+
536535 return justBonded ;
537536 } else {
538537 // Long timeout as this is the point that the pairing dialog will show.
You can’t perform that action at this time.
0 commit comments