Commit ae060b62 authored by Tobias Simon's avatar Tobias Simon

increased GPS sat timeout from 1 second to 10 seconds

sending GPS sat information via a low-bandwidth link like the UM96 @ 9600 baud should also work at low frequencies like 0.2 Hz
parent 24560f76
......@@ -1106,8 +1106,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