|
|
|
|
@ -79,16 +79,14 @@ bool CAPRSGPSDIdFrameProvider::buildAPRSFramesInt(const CAPRSEntry * entry, std:
|
|
|
|
|
return false;
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
#ifndef STATUS_UNK
|
|
|
|
|
#define STATUS_UNK STATUS_NO_FIX //Dirty ack. because gpsd history doc just s*cks
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
if (m_gpsdData.fix.status == STATUS_UNK)
|
|
|
|
|
#if GPSD_API_MAJOR_VERSION >= 10
|
|
|
|
|
if(m_gpsdData.fix.status == STATUS_NO_FIX)
|
|
|
|
|
return false;
|
|
|
|
|
#else
|
|
|
|
|
if (m_gpsdData.status != STATUS_FIX)
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool latlonSet = (m_gpsdData.set & LATLON_SET) == LATLON_SET;
|
|
|
|
|
bool altitudeSet = (m_gpsdData.set & ALTITUDE_SET) == ALTITUDE_SET;
|
|
|
|
|
bool velocitySet = (m_gpsdData.set & SPEED_SET) == SPEED_SET;
|
|
|
|
|
|