From 836625677d1220d634075e499da79e810b28da9b Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 28 Aug 2020 15:21:59 +0100 Subject: [PATCH] Fix compile with GPSD. --- GPSD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPSD.cpp b/GPSD.cpp index 17d1f1a..bda5f39 100644 --- a/GPSD.cpp +++ b/GPSD.cpp @@ -48,7 +48,7 @@ void CGPSD::addNetwork(CDMRNetwork* network) m_networks.push_back(network); } -void CGPSD::addAPRS(CAPRSWriter* aprs) +void CGPSD::setAPRS(CAPRSWriter* aprs) { assert(aprs != NULL); @@ -119,7 +119,7 @@ void CGPSD::sendReport() #endif if (m_aprs != NULL) - m_aprs->setLocation(;latitude, longitude, altitudeSet ? altitude : 0.0F); + m_aprs->setLocation(latitude, longitude, altitudeSet ? altitude : 0.0F); for (std::vector::const_iterator it = m_networks.begin(); it != m_networks.end(); ++it) (*it)->writeHomePosition(latitude, longitude);