Fixed an issue in the MicroPython interface related to Pi Pico with Pimoroni 'pico wireless'. eric7

Mon, 20 Nov 2023 15:38:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 Nov 2023 15:38:21 +0100
branch
eric7
changeset 10326
d83e1fea5ea6
parent 10325
5d4c35508a6a
child 10327
6b1e6d7b26f0

Fixed an issue in the MicroPython interface related to Pi Pico with Pimoroni 'pico wireless'.

src/eric7/MicroPython/Devices/RP2040Devices.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/Devices/RP2040Devices.py	Sat Nov 18 17:53:08 2023 +0100
+++ b/src/eric7/MicroPython/Devices/RP2040Devices.py	Mon Nov 20 15:38:21 2023 +0100
@@ -457,7 +457,7 @@
                 if pw.get_fw_version() != '':
                     return True, 'picowireless'
             except RuntimeError:
-                picowireless.init()
+                pw.init()
                 return True, 'picowireless'
         except ImportError:
             pass

eric ide

mercurial