Make the HAE/Baro offset field a bit clearer.

(given that I got confused by the old name after only a couple of weeks
away from that code..)
This commit is contained in:
Oliver Jowett 2016-01-22 14:36:17 +00:00
parent c4e162287d
commit cc04f315b4

View file

@ -1035,9 +1035,9 @@ static void displayExtendedSquitter(struct modesMessage *mm) {
} }
if (mm->bFlags & MODES_ACFLAGS_HAE_DELTA_VALID) { if (mm->bFlags & MODES_ACFLAGS_HAE_DELTA_VALID) {
printf(" HAE - Barometric : %d ft\n", mm->hae_delta); printf(" HAE/Baro offset : %d ft\n", mm->hae_delta);
} else { } else {
printf(" HAE - Barometric : not valid\n"); printf(" HAE/Baro offset : not valid\n");
} }
} else if (mm->metype >= 5 && mm->metype <= 22) { // Airborne position Baro } else if (mm->metype >= 5 && mm->metype <= 22) { // Airborne position Baro
printf(" F flag : %s\n", (mm->msg[6] & 0x04) ? "odd" : "even"); printf(" F flag : %s\n", (mm->msg[6] & 0x04) ? "odd" : "even");