[hamradio-commits] [dump1090] 213/389: Set AOG_VALID for DF-17/18 metype 19
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:56 UTC 2014
This is an automated email from the git hooks/post-receive script.
mernisse-guest pushed a commit to branch master
in repository dump1090.
commit 4c0ed6d5f1318d22269ffc450023d0e7f6778ae0
Author: Malcolm Robb <Support at ATTAvionics.com>
Date: Fri May 24 11:10:16 2013 +0100
Set AOG_VALID for DF-17/18 metype 19
---
dump1090.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dump1090.c b/dump1090.c
index 243c21f..9543222 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -1898,6 +1898,9 @@ void decodeModesMessage(struct modesMessage *mm, unsigned char *msg) {
} else if (metype == 19) { // Airborne Velocity Message
+ // Presumably airborne if we get an Airborne Velocity Message
+ mm->bFlags |= MODES_ACFLAGS_AOG_VALID;
+
if ( (mesub >= 1) && (mesub <= 4) ) {
int vert_rate = ((msg[8] & 0x07) << 6) | (msg[9] >> 2);
if (vert_rate) {
--
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