diff -r 47be220abdaf -r 779cda568acb src/eric7/MicroPython/Devices/PyBoardDevices.py --- a/src/eric7/MicroPython/Devices/PyBoardDevices.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/MicroPython/Devices/PyBoardDevices.py Sat Apr 20 18:01:36 2024 +0200 @@ -556,9 +556,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. @@ -566,13 +564,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