[hamradio-commits] [dump1090] 251/373: Remove some local filtering

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch backport
in repository dump1090.

commit 52ac50b0181a1d9c711dbbb402520fb130a7d847
Author: Malcolm Robb <Support at ATTAvionics.com>
Date:   Mon Aug 19 19:04:49 2013 +0100

    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) ) 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list