Merge branch 'master' into pcf8563rtc

This commit is contained in:
Thomas Göttgens
2022-10-04 09:38:33 +02:00
committed by GitHub
20 changed files with 81 additions and 56 deletions

View File

@@ -223,13 +223,10 @@ bool NMEAGPS::lookForLocation()
}
}
/*
// REDUNDANT?
// expect gps pos lat=37.520825, lon=-122.309162, alt=158
DEBUG_MSG("new NMEA GPS pos lat=%f, lon=%f, alt=%d, dop=%g, heading=%f\n",
latitude * 1e-7, longitude * 1e-7, altitude, dop * 1e-2,
heading * 1e-5);
*/
if (reader.speed.isUpdated() && reader.speed.isValid()) {
p.ground_speed = reader.speed.kmph();
}
return true;
}