Include ADS-B version in interactive mode display

This commit is contained in:
Oliver Jowett 2019-11-27 20:35:29 +08:00
parent ce89cd08d9
commit 429e34db21
1 changed files with 3 additions and 0 deletions

View File

@ -150,6 +150,9 @@ void interactiveShowData(void) {
pSig[4] + pSig[5] + pSig[6] + pSig[7]) / 8.0;
strMode[0] = 'S';
if (a->adsb_version >= 0) {
strMode[1] = '0' + a->adsb_version;
}
if (a->modeA_hit) {strMode[2] = 'a';}
if (a->modeC_hit) {strMode[3] = 'c';}