Commit 506ed73b authored by Don Gagne's avatar Don Gagne

Fix non android serial port code

parent fa0d4719
...@@ -499,6 +499,8 @@ void LinkManager::_updateAutoConnectLinks(void) ...@@ -499,6 +499,8 @@ void LinkManager::_updateAutoConnectLinks(void)
if (!_autoconnectConfigurations.count()) { if (!_autoconnectConfigurations.count()) {
portList = QGCSerialPortInfo::availablePorts(); portList = QGCSerialPortInfo::availablePorts();
} }
#else
portList = QGCSerialPortInfo::availablePorts();
#endif #endif
// Iterate Comm Ports // Iterate Comm Ports
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment