From 1958b23a93d18d33c4e8225a0dbea10e3464235a Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 2 Sep 2016 18:45:39 +0100 Subject: [PATCH] Tweak the on-the-ground conditions a little. --- net_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net_io.c b/net_io.c index 7dc7fcb..9c4139f 100644 --- a/net_io.c +++ b/net_io.c @@ -1837,7 +1837,8 @@ static void writeFATSV() // don't send mode S very often minAge = 30000; } else if ((airgroundValid && a->airground == AG_GROUND) || - (altValid && a->altitude < 500 && speedValid && a->speed < 100)) { + (altValid && a->altitude < 500 && (!speedValid || a->speed < 200)) || + (speedValid && a->speed < 100 && (!altValid || a->altitude < 1000))) { // we are probably on the ground, increase the update rate minAge = 1000; } else if (!altValid || a->altitude < 10000) {