Commit aaf236a9 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #38 from ARCADE-UAV/gps_update_fix

Increased GPS sat timeout from 1 second to 10 seconds
parents 1529ae86 f0c294e5
......@@ -1216,8 +1216,8 @@ void HSIDisplay::drawGPS(QPainter &painter)
i.next();
GPSSatellite* sat = i.value();
// Check if update is not older than 5 seconds, else delete satellite
if (sat->lastUpdate + 1000000 < currTime) {
// Check if update is not older than 10 seconds, else delete satellite
if (sat->lastUpdate + 10000000 < currTime) {
// Delete and go to next satellite
gpsSatellites.remove(i.key());
if (i.hasNext()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment