Commit b851be13 authored by Don Gagne's avatar Don Gagne

More logging

parent fc652cbc
...@@ -421,6 +421,7 @@ void LinkManager::_updateAutoConnectLinks(void) ...@@ -421,6 +421,7 @@ void LinkManager::_updateAutoConnectLinks(void)
} }
} }
if (!foundUDP) { if (!foundUDP) {
qCDebug(LinkManagerLog) << "New auto-connect UDP port added";
UDPConfiguration* udpConfig = new UDPConfiguration(_defaultUPDLinkName); UDPConfiguration* udpConfig = new UDPConfiguration(_defaultUPDLinkName);
udpConfig->setLocalPort(QGC_UDP_LOCAL_PORT); udpConfig->setLocalPort(QGC_UDP_LOCAL_PORT);
udpConfig->setDynamic(true); udpConfig->setDynamic(true);
...@@ -493,6 +494,8 @@ void LinkManager::_updateAutoConnectLinks(void) ...@@ -493,6 +494,8 @@ void LinkManager::_updateAutoConnectLinks(void)
createConnectedLink(pSerialConfig); createConnectedLink(pSerialConfig);
} }
} else {
qCDebug(LinkManagerVerboseLog) << "Skipping existing autoconnect" << portInfo.systemLocation();
} }
} }
} }
......
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