diff --git a/Common/APRSGPSDIdFrameProvider.cpp b/Common/APRSGPSDIdFrameProvider.cpp index 969c9f9..231ee6e 100644 --- a/Common/APRSGPSDIdFrameProvider.cpp +++ b/Common/APRSGPSDIdFrameProvider.cpp @@ -74,8 +74,8 @@ bool CAPRSGPSDIdFrameProvider::buildAPRSFramesInt(const CAPRSEntry * entry, std: return false; #endif -#if GPSD_API_MAJOR_VERSION >= 10 && GPSD_API_MAJOR_VERSION < 14 - if(m_gpsdData.fix.status == STATUS_NO_FIX) +#if GPSD_API_MAJOR_VERSION >= 10 && GPSD_API_MAJOR_VERSION < 13 + if(m_gpsdData.status == STATUS_NO_FIX) return false; #else if (m_gpsdData.fix.status < STATUS_GPS)