RP2040Devices eric7

Mon, 20 Nov 2023 16:24:04 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 Nov 2023 16:24:04 +0100
branch
eric7
changeset 10327
6b1e6d7b26f0
parent 10326
d83e1fea5ea6
child 10328
2f394eb86dd6

RP2040Devices
- Changed the timeout for detecting WiFi capability. It takes up to 20s to detect the 'pico wireless' module.

src/eric7/MicroPython/Devices/RP2040Devices.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/Devices/RP2040Devices.py	Mon Nov 20 15:38:21 2023 +0100
+++ b/src/eric7/MicroPython/Devices/RP2040Devices.py	Mon Nov 20 16:24:04 2023 +0100
@@ -467,7 +467,7 @@
 print(has_wifi())
 del has_wifi
 """
-        out, err = self.executeCommands(command, mode=self._submitMode, timeout=10000)
+        out, err = self.executeCommands(command, mode=self._submitMode, timeout=20000)
         if err:
             if not err.startswith(b"Timeout "):
                 raise OSError(self._shortError(err))

eric ide

mercurial