eric6/MicroPython/GenericMicroPythonDevices.py

changeset 8117
aaa5e0eacd4e
parent 8110
c5af1d1d2a78
child 8218
7c09585bd960
--- a/eric6/MicroPython/GenericMicroPythonDevices.py	Fri Feb 19 17:34:33 2021 +0100
+++ b/eric6/MicroPython/GenericMicroPythonDevices.py	Sat Feb 20 11:52:49 2021 +0100
@@ -23,12 +23,14 @@
     """
     Class implementing the device interface for generic MicroPython boards.
     """
-    def __init__(self, microPythonWidget, vid, pid, parent=None):
+    def __init__(self, microPythonWidget, deviceType, vid, pid, 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 vid vendor ID
         @type int
         @param pid product ID
@@ -36,8 +38,8 @@
         @param parent reference to the parent object
         @type QObject
         """
-        super(GenericMicroPythonDevice, self).__init__(microPythonWidget,
-                                                       parent)
+        super(GenericMicroPythonDevice, self).__init__(
+            microPythonWidget, deviceType, parent)
         
         self.__directAccess = False
         self.__deviceVolumeName = ""

eric ide

mercurial