@ -69,7 +69,6 @@ void ModbusMaster::connectToDevice(ModbusConfig modbusConfig, ExpConfig& expConf
modbusConfig.stopBits);
_modbusDevice->setTimeout(modbusConfig.responseTime);
_modbusDevice->setNumberOfRetries(modbusConfig.numberOfRetries);
if(!_modbusDevice->connectDevice())
{
@ -28,7 +28,6 @@ void MainWindow::on_connect_clicked()
configDevice.serialPort = "/dev/pts/2";
configDevice.clientAddress = 1;
configDevice.responseTime = 1000;
configDevice.numberOfRetries = 3;
qDebug() << "before init";
modbusWrapper.init();
qDebug() << "after init";