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
This commit is contained in:
Flyer350 2023-12-04 14:33:36 +01:00 committed by GitHub
parent 77273153cb
commit 852315ed2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@ def capability(msg: str) -> tuple[int, None | str]:
) )
elif ca == 7: elif ca == 7:
text = ( text = (
"Downlink Request value is 0, " "Downlink Request value is not 0, "
"or the Flight Status is 2, 3, 4 or 5, " "or the Flight Status is 2, 3, 4 or 5, "
"either airborne or on the ground" "and either airborne or on the ground"
) )
else: else:
text = None text = None