eric6/MicroPython/EspDevices.py

changeset 8117
aaa5e0eacd4e
parent 8096
5425a9072300
child 8119
1653972f2de5
--- a/eric6/MicroPython/EspDevices.py	Fri Feb 19 17:34:33 2021 +0100
+++ b/eric6/MicroPython/EspDevices.py	Sat Feb 20 11:52:49 2021 +0100
@@ -27,16 +27,18 @@
     """
     Class implementing the device for ESP32 and ESP8266 based boards.
     """
-    def __init__(self, microPythonWidget, parent=None):
+    def __init__(self, microPythonWidget, deviceType, parent=None):
         """
         Constructor
         
         @param microPythonWidget reference to the main MicroPython widget
         @type MicroPythonWidget
+        @param deviceType device type assigned to this device interface
+        @type str
         @param parent reference to the parent object
         @type QObject
         """
-        super(EspDevice, self).__init__(microPythonWidget, parent)
+        super(EspDevice, self).__init__(microPythonWidget, deviceType, parent)
     
     def setButtons(self):
         """

eric ide

mercurial