Tweak the on-the-ground conditions a little.
This commit is contained in:
parent
2636353e4a
commit
1958b23a93
3
net_io.c
3
net_io.c
|
@ -1837,7 +1837,8 @@ static void writeFATSV()
|
||||||
// don't send mode S very often
|
// don't send mode S very often
|
||||||
minAge = 30000;
|
minAge = 30000;
|
||||||
} else if ((airgroundValid && a->airground == AG_GROUND) ||
|
} 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
|
// we are probably on the ground, increase the update rate
|
||||||
minAge = 1000;
|
minAge = 1000;
|
||||||
} else if (!altValid || a->altitude < 10000) {
|
} else if (!altValid || a->altitude < 10000) {
|
||||||
|
|
Loading…
Reference in a new issue