gpsd, again

feature/IPV6_#35_Reboot
Geoffrey Merck 2 years ago
parent a1c1f4faf0
commit f0bed5fff0

@ -74,11 +74,11 @@ bool CAPRSGPSDIdFrameProvider::buildAPRSFramesInt(const CAPRSEntry * entry, std:
return false;
#endif
#if GPSD_API_MAJOR_VERSION >= 10 && GPSD_API_MAJOR_VERSION < 11
if(m_gpsdData.status == STATUS_NO_FIX)
#if GPSD_API_MAJOR_VERSION == 10
if(m_gpsdData.fix.status == STATUS_NO_FIX)
return false;
#else
if (m_gpsdData.fix.status < STATUS_GPS)
if (m_gpsdData.fix.status == STATUS_UNK)
return false;
#endif

Loading…
Cancel
Save

Powered by TurnKey Linux.