Fix Issue 88, Wrong Longitude in ADSB RX (#242)

This commit is contained in:
Tyler Roussos 2019-05-21 11:44:14 -04:00 committed by Furrtek
parent aa77657092
commit 9f587e6085
3 changed files with 18 additions and 9 deletions

View file

@ -220,7 +220,7 @@ void ADSBRxView::on_frame(const ADSBFrameMessage * message) {
callsign = decode_frame_id(frame);
entry.set_callsign(callsign);
logentry+=callsign+" ";
} else if ((msg_type >= 9) && (msg_type <= 18)) {
} else if (((msg_type >= 9) && (msg_type <= 18)) || ((msg_type >= 20) && (msg_type <= 22))) {
entry.set_frame_pos(frame, raw_data[6] & 4);
if (entry.pos.valid) {