If --hae is passed, report altitudes as HAE where available, with a H suffix.

This affects interactive mode and SBS output.
This commit is contained in:
Oliver Jowett 2016-01-01 15:15:28 +00:00
parent c99e4d9aed
commit 9479a5c9be
6 changed files with 25 additions and 12 deletions

View file

@ -1261,15 +1261,15 @@ void useModesMessage(struct modesMessage *mm) {
if (Modes.net) {
if (Modes.net_verbatim || mm->msgtype == 32) {
// Unconditionally send
modesQueueOutput(mm);
modesQueueOutput(mm, a);
} else if (a->messages > 1) {
// If this is the second message, and we
// squelched the first message, then re-emit the
// first message now.
if (!Modes.net_verbatim && a->messages == 2) {
modesQueueOutput(&a->first_message);
modesQueueOutput(&a->first_message, a);
}
modesQueueOutput(mm);
modesQueueOutput(mm, a);
}
}
}