Changeset View
Changeset View
Standalone View
Standalone View
dataengines/geolocation/location_gps.cpp
Context not available. | |||||
59 | if (gps_poll(m_gpsdata) != -1) { | 59 | if (gps_poll(m_gpsdata) != -1) { | ||
---|---|---|---|---|---|
60 | #endif | 60 | #endif | ||
61 | //qDebug() << "poll ok"; | 61 | //qDebug() << "poll ok"; | ||
62 | #if GPSD_API_MAJOR_VERSION >= 9 | ||||
63 | if (m_gpsdata->online.tv_sec || m_gpsdata->online.tv_nsec) { | ||||
64 | #else | ||||
62 | if (m_gpsdata->online) { | 65 | if (m_gpsdata->online) { | ||
66 | #endif | ||||
63 | //qDebug() << "online"; | 67 | //qDebug() << "online"; | ||
64 | if (m_gpsdata->status != STATUS_NO_FIX) { | 68 | if (m_gpsdata->status != STATUS_NO_FIX) { | ||
65 | //qDebug() << "fix"; | 69 | //qDebug() << "fix"; | ||
Context not available. |