Skip to content

Commit f9f8b93

Browse files
committed
switch back to 4 seconds timeout; 10 seconds was a misunderstanding
1 parent e38b153 commit f9f8b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def stop_scan(self):
261261
once empty."""
262262
self._adapter.stop_scan()
263263

264-
def connect(self, advertisement, *, timeout=10.0):
264+
def connect(self, advertisement, *, timeout=4.0):
265265
"""
266266
Initiates a `BLEConnection` to the peer that advertised the given advertisement.
267267

0 commit comments

Comments
 (0)