Merge pull request #818 from Brumi-2021/ADSB_squawk_investigation

Correct squawk id in ADSB TX
This commit is contained in:
gullradriel
2023-03-04 08:10:43 +01:00
committed by GitHub
5 changed files with 107 additions and 39 deletions

View File

@@ -207,7 +207,7 @@ void ADSBSquawkView::collect_frames(const uint32_t ICAO_address, std::vector<ADS
ADSBFrame temp_frame;
(void)ICAO_address;
encode_frame_squawk(temp_frame, field_squawk.value_dec_u32());
encode_frame_squawk(temp_frame, field_squawk.concatenate_4_octal_u16());
frame_list.emplace_back(temp_frame);
}