--- a/src/eric7/MicroPython/Devices/EspDevices.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/MicroPython/Devices/EspDevices.py Sat Apr 20 18:01:36 2024 +0200 @@ -1705,9 +1705,7 @@ return res["result"], res["error"] -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. @@ -1715,13 +1713,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 EspDevice