undo gpsd move to other branch

feature/IPV6_#35_Reboot
Geoffrey Merck 2 years ago
parent 0011ffa2b4
commit 97a743af0a

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

Loading…
Cancel
Save

Powered by TurnKey Linux.