src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
eric7
changeset 11006
a671918232f3
parent 11005
b918c6c2736b
child 11055
e68bcb2b5ec1
--- a/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Oct 25 17:58:59 2024 +0200
@@ -549,7 +549,7 @@
         """
         from .EspDevices import eraseFlash
 
-        eraseFlash(self.microPython.getCurrentPort())
+        eraseFlash(self.microPython.getCurrentPort(), parent=self.microPython)
 
     @pyqtSlot()
     def __esp32FlashPython(self):

eric ide

mercurial