Skip to content

Commit

Permalink
ignore DF18 in mlat-client
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Mar 16, 2021
1 parent 93e7d69 commit 447fa8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mlat/client/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

"""Just a version constant!"""

CLIENT_VERSION = "0.3.5"
CLIENT_VERSION = "0.3.6"
3 changes: 1 addition & 2 deletions modes_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ static int decode(modesmessage *self)
}

if (self->df != 0 && self->df != 4 && self->df != 5 && self->df != 11 &&
self->df != 16 && self->df != 17 && self->df != 18 && self->df != 20 && self->df != 21) {
self->df != 16 && self->df != 17 && self->df != 20 && self->df != 21) {
/* we do not know how to handle this message type, no further processing */
return 0;
}
Expand Down Expand Up @@ -432,7 +432,6 @@ static int decode(modesmessage *self)
break;

case 17:
case 18:
self->valid = (crc == 0);
if (self->valid) {
unsigned metype;
Expand Down

0 comments on commit 447fa8e

Please sign in to comment.