Update to he lastest gpsd 3.2.1 API.

This commit is contained in:
Jonathan Naylor
2023-02-13 17:47:47 +00:00
parent d7a4c86dda
commit 69b31b660b

View File

@@ -101,7 +101,7 @@ void CGPSD::sendReport()
return; return;
#endif #endif
if (m_gpsdData.status != STATUS_FIX) if (m_gpsdData.fix.status != STATUS_FIX)
return; return;
bool latlonSet = (m_gpsdData.set & LATLON_SET) == LATLON_SET; bool latlonSet = (m_gpsdData.set & LATLON_SET) == LATLON_SET;