gui: increase the connection timeout value

- 0.1s is too short. Min settable sampling rate is 1.25Sps
This commit is contained in:
linuswck 2024-07-19 14:47:04 +08:00
parent 4cd328d98c
commit 3737c2ed59
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ class MainWindow(QtWidgets.QMainWindow):
try: try:
if not (self.kirdy.connecting() or self.kirdy.connected()): if not (self.kirdy.connecting() or self.kirdy.connected()):
self.status_lbl.setText("Connecting...") self.status_lbl.setText("Connecting...")
await self.kirdy.start_session(host=host, port=port, timeout=0.1) await self.kirdy.start_session(host=host, port=port, timeout=5.0)
await self._on_connection_changed(True) await self._on_connection_changed(True)
else: else:
await self.bail() await self.bail()