src/eric7/MicroPython/Devices/TeensyDevices.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10806
2f6df822e3b9
diff -r 47be220abdaf -r 779cda568acb src/eric7/MicroPython/Devices/TeensyDevices.py
--- a/src/eric7/MicroPython/Devices/TeensyDevices.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/MicroPython/Devices/TeensyDevices.py	Sat Apr 20 18:01:36 2024 +0200
@@ -284,9 +284,7 @@
 """
 
 
-def createDevice(
-    microPythonWidget, deviceType, vid, pid, boardName, serialNumber  # noqa: U100
-):
+def createDevice(microPythonWidget, deviceType, _vid, _pid, _boardName, _serialNumber):
     """
     Function to instantiate a MicroPython device object.
 
@@ -294,13 +292,13 @@
     @type MicroPythonWidget
     @param deviceType device type assigned to this device interface
     @type str
-    @param vid vendor ID
+    @param _vid vendor ID (unused)
     @type int
-    @param pid product ID
+    @param _pid product ID (unused)
     @type int
-    @param boardName name of the board
+    @param _boardName name of the board (unused)
     @type str
-    @param serialNumber serial number of the board
+    @param _serialNumber serial number of the board (unused)
     @type str
     @return reference to the instantiated device object
     @rtype PyBoardDevice

eric ide

mercurial