Fix compile with GPSD enabled.

This commit is contained in:
Jonathan Naylor
2020-08-26 14:25:37 +01:00
parent b344248e0a
commit f6643eb697

View File

@@ -384,7 +384,7 @@ int CDMRGateway::run()
LogInfo(" Address: %s", gpsdAddress.c_str()); LogInfo(" Address: %s", gpsdAddress.c_str());
LogInfo(" Port: %s", gpsdPort.c_str()); LogInfo(" Port: %s", gpsdPort.c_str());
m_gpsd = new CGPSD(gpsdAddress, gpsdPort, m_dmrNetwork); m_gpsd = new CGPSD(gpsdAddress, gpsdPort);
ret = m_gpsd->open(); ret = m_gpsd->open();
if (!ret) { if (!ret) {