Don't emit FATSV output for non-ICAO addresses.

This commit is contained in:
Oliver Jowett 2015-01-22 12:18:46 +00:00
parent 6e1315e3a6
commit 35551b4455

View file

@ -1310,6 +1310,10 @@ static void writeFATSV() {
int emittedSecondsAgo; int emittedSecondsAgo;
char *p, *end; char *p, *end;
// skip non-ICAO
if (a->bFlags & MODES_ACFLAGS_NON_ICAO)
continue;
// don't emit if it hasn't updated since last time // don't emit if it hasn't updated since last time
if (a->seen < a->fatsv_last_emitted) { if (a->seen < a->fatsv_last_emitted) {
continue; continue;