diff --git a/ground/openpilotgcs/src/plugins/serialconnection/serialplugin.cpp b/ground/openpilotgcs/src/plugins/serialconnection/serialplugin.cpp index f83efe968..1f7a476f0 100644 --- a/ground/openpilotgcs/src/plugins/serialconnection/serialplugin.cpp +++ b/ground/openpilotgcs/src/plugins/serialconnection/serialplugin.cpp @@ -128,7 +128,7 @@ QList SerialConnection::availableDevices() foreach( QextPortInfo port, ports ) { device d; d.displayName=port.friendName; - d.name=port.friendName; + d.name=port.physName; list.append(d); } } @@ -143,7 +143,7 @@ QIODevice *SerialConnection::openDevice(const QString &deviceName) } QList ports = QextSerialEnumerator::getPorts(); foreach( QextPortInfo port, ports ) { - if(port.friendName == deviceName) + if(port.physName == deviceName) { //we need to handle port settings here... PortSettings set;