From 852315ed2d455fc1c1c96922ca9b90cb73567407 Mon Sep 17 00:00:00 2001 From: Flyer350 <57186034+Flyer350@users.noreply.github.com> Date: Mon, 4 Dec 2023 14:33:36 +0100 Subject: [PATCH] Update allcall.py Modified a mistake in the interpretation of CA field 7. See ICAO Annex 10, Vol IV., 3.1.2.5.2.2.1 --- pyModeS/decoder/allcall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyModeS/decoder/allcall.py b/pyModeS/decoder/allcall.py index 3023ab3..c7bdae9 100644 --- a/pyModeS/decoder/allcall.py +++ b/pyModeS/decoder/allcall.py @@ -88,9 +88,9 @@ def capability(msg: str) -> tuple[int, None | str]: ) elif ca == 7: text = ( - "Downlink Request value is 0, " + "Downlink Request value is not 0, " "or the Flight Status is 2, 3, 4 or 5, " - "either airborne or on the ground" + "and either airborne or on the ground" ) else: text = None