Fix error in serial init caused by the last commit
This commit is contained in:
+1
-1
@@ -596,7 +596,7 @@ void MainWindow::connButtonPress()
|
||||
{
|
||||
if (ports.at(x).portName() == ui->cbSerialPorts->currentText())
|
||||
{
|
||||
emit sendSerialPort(ports[x]);
|
||||
emit sendSerialPort(&ports[x]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user