--- a/src/eric7/MicroPython/MicroPythonDeviceInterface.py Thu Oct 05 17:07:35 2023 +0200 +++ b/src/eric7/MicroPython/MicroPythonDeviceInterface.py Fri Oct 06 15:52:33 2023 +0200 @@ -37,15 +37,14 @@ """ super().__init__(parent) - @pyqtSlot() def connectToDevice(self, connection): """ - Public slot to connect to the device. + Public method to connect to the device. @param connection name of the connection to be used @type str - @return flag indicating success - @rtype bool + @return flag indicating success and an error message + @rtype tuple of (bool, str) @exception NotImplementedError raised to indicate that this method needs to be implemented in a derived class """ @@ -53,7 +52,7 @@ "This method needs to be implemented in a derived class." ) - return False + return False, "" @pyqtSlot() def disconnectFromDevice(self):