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; return false;
#endif #endif
#if GPSD_API_MAJOR_VERSION >= 10 && GPSD_API_MAJOR_VERSION < 11 #if GPSD_API_MAJOR_VERSION == 10
if(m_gpsdData.status == STATUS_NO_FIX) if(m_gpsdData.fix.status == STATUS_NO_FIX)
return false; return false;
#else #else
if (m_gpsdData.fix.status < STATUS_GPS) if (m_gpsdData.fix.status == STATUS_UNK)
return false; return false;
#endif #endif

Loading…
Cancel
Save

Powered by TurnKey Linux.