Location service: report number of recorded GPS fixes

This is mostly for debugging, to make sure that the recording of GPS fixes
works as expected.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-13 09:17:13 -08:00
parent 4b39971978
commit 6a70793ba8
3 changed files with 8 additions and 1 deletions

View file

@ -74,6 +74,11 @@ void GpsLocation::status(QString msg)
qmlUiShowMessage(qPrintable(msg));
}
int GpsLocation::getGpsNum() const
{
return geoSettings.value("count", 0).toInt();
}
struct gpsTracker {
degrees_t latitude;
degrees_t longitude;