From 52ac50b0181a1d9c711dbbb402520fb130a7d847 Mon Sep 17 00:00:00 2001 From: Malcolm Robb Date: Mon, 19 Aug 2013 19:04:49 +0100 Subject: [PATCH] Remove some local filtering Oops - Left some personal ModeA/C filtering in the release code that only applies if you happen to be within 25 miles of Yeovilton. --- interactive.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/interactive.c b/interactive.c index 688fc7e..061da78 100644 --- a/interactive.c +++ b/interactive.c @@ -362,16 +362,6 @@ void interactiveShowData(void) { int msgs = a->messages; int flags = a->modeACflags; - if (flags & MODEAC_MSG_FLAG) { - if ( (0x3300 != (a->modeA & 0x7700)) // London Mil South 3300 - 3377 - && (0x6400 != (a->modeA & 0x7700)) // London Mil Daventry 6400 - 6477 - && (0x7400 != (a->modeA & 0x7740)) // Yeovilton 7400 - 7437 - && (0x4300 != (a->modeA & 0x7700)) // Yeovilton Lars 4300 - 4377 - && (0x2600 != (a->modeA & 0x7700)) // Boscombe 2600 - 2677 - && (0x7400 != (a->modeA & 0x7477)) ) // Emergency 7400,7500,7600,7700 - msgs = 0; - } - if ( (((flags & (MODEAC_MSG_FLAG )) == 0 ) ) || (((flags & (MODEAC_MSG_MODES_HIT | MODEAC_MSG_MODEA_ONLY)) == MODEAC_MSG_MODEA_ONLY) && (msgs > 4 ) ) || (((flags & (MODEAC_MSG_MODES_HIT | MODEAC_MSG_MODEC_OLD )) == 0 ) && (msgs > 127) )