From a791120f0c5c042902c9a1b55d7304adc66c6d7c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 23 Jan 2019 11:18:39 -0800 Subject: [PATCH] Fix broken NO_SERIAL_LINK build --- src/comm/LinkManager.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/comm/LinkManager.cc b/src/comm/LinkManager.cc index 6f511c822..957af8c64 100644 --- a/src/comm/LinkManager.cc +++ b/src/comm/LinkManager.cc @@ -480,6 +480,7 @@ void LinkManager::_updateAutoConnectLinks(void) emit linkConfigurationsChanged(); } #ifndef __mobile__ +#ifndef NO_SERIAL_LINK // check to see if nmea gps is configured for UDP input, if so, set it up to connect if (_autoConnectSettings->autoConnectNmeaPort()->cookedValueString() == "UDP Port") { if (_nmeaSocket.localPort() != _autoConnectSettings->nmeaUdpPort()->rawValue().toUInt() @@ -500,6 +501,7 @@ void LinkManager::_updateAutoConnectLinks(void) _nmeaSocket.close(); } #endif +#endif #ifndef NO_SERIAL_LINK QStringList currentPorts; -- 2.22.0