Skip to content

Commit 24c7174

Browse files
committed
Fix Win10 bluetooth timeout
1 parent f5769cc commit 24c7174

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/board.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ def func_probe_all(self, ports):
8383
self.send_result(False)
8484

8585
def probe(self, device):
86-
# start a probe thread with timeout
87-
board = pyboard.Pyboard(device)
86+
try:
87+
# start a probe thread with timeout
88+
board = pyboard.Pyboard(device)
89+
except:
90+
return None
8891

8992
# Set a write timeout. This is needed during scan if
9093
# we try to probe a device which would not accept any data.

src/editors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def splash(self, parent):
171171
title.setAlignment(Qt.AlignCenter)
172172
vbox.addWidget(title)
173173

174-
version = QLabel("V1.1.2", vbox_w)
174+
version = QLabel("V1.1.2a", vbox_w)
175175
version.setAlignment(Qt.AlignCenter)
176176
vbox.addWidget(version)
177177

0 commit comments

Comments
 (0)