Store comm-b gs in gs.selected to help the decoder tests out.
Usually this is set in track.c, but the tests don't use that code path. This somewhat increases the number of "suspicious" messages found.
This commit is contained in:
parent
27f41c178f
commit
c9bea6a21c
1 changed files with 1 additions and 1 deletions
2
comm_b.c
2
comm_b.c
|
@ -581,7 +581,7 @@ static int decodeBDS50(struct modesMessage *mm, bool store)
|
||||||
|
|
||||||
if (gs_valid) {
|
if (gs_valid) {
|
||||||
mm->gs_valid = 1;
|
mm->gs_valid = 1;
|
||||||
mm->gs.v0 = mm->gs.v2 = gs;
|
mm->gs.v0 = mm->gs.v2 = mm->gs.selected = gs;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (track_rate_valid) {
|
if (track_rate_valid) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue