Correct squawk id in ADSB TX

This commit is contained in:
Brumi-2021 2023-03-03 23:10:58 +01:00
parent c8774e82d9
commit 988404df9c
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);
}