Skip to content

Commit

Permalink
BDS45 radio height status is set in byte 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglasdc3 committed Nov 15, 2020
1 parent 260e852 commit e6e6c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/aero/t2s/modes/decoder/df/bds/Bds45.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Bds45(short[] data) {
statusWake = ((data[5] & 0b00001000) >>> 3) == 1;
statusSat = (data[5] & 0b00000001) == 1;
statusAverageStaticPressure = ((data[7] & 0b00100000) >>> 5) == 1;
statusRadioHeight = ((data[7] & 0b00000010) >>> 1) == 1;
statusRadioHeight = ((data[8] & 0b00000010) >>> 1) == 1;

// Reserved
if ((data[10] & 0b00011111) != 0) {
Expand Down

0 comments on commit e6e6c89

Please sign in to comment.