Fix error in serial init caused by the last commit

This commit is contained in:
Collin Kidder
2015-05-13 20:20:16 -04:00
parent b634024fb2
commit 61eb9e2421
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ void MainWindow::connButtonPress()
{
if (ports.at(x).portName() == ui->cbSerialPorts->currentText())
{
emit sendSerialPort(ports[x]);
emit sendSerialPort(&ports[x]);
return;
}
}