diff -r 47be220abdaf -r 779cda568acb src/eric7/MicroPython/Devices/MicrobitDevices.py --- a/src/eric7/MicroPython/Devices/MicrobitDevices.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/MicroPython/Devices/MicrobitDevices.py Sat Apr 20 18:01:36 2024 +0200 @@ -958,9 +958,7 @@ return scanResults, "" -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. @@ -968,11 +966,11 @@ @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 @type str