From c9e3581fe242d4dbd00830fcb2f6d3f6d1ecccd1 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 9 Nov 2021 16:41:20 +0100 Subject: [PATCH] heliwatch: don't track aircrafts without altitude --- heliwatch/src/adsb.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/heliwatch/src/adsb.rs b/heliwatch/src/adsb.rs index c21bc3b..d4436f8 100644 --- a/heliwatch/src/adsb.rs +++ b/heliwatch/src/adsb.rs @@ -133,6 +133,10 @@ pub fn run(host: &'static str, port: u16, locations: Locations) -> Receiver MAX_ALTITUDE).unwrap_or(false) || entry.emitter_category.as_ref().map(|category| IGNORED_CATEGORIES.contains(category)).unwrap_or(false) {