parent
03ba828f8d
commit
f58ff14d7c
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -12,6 +12,7 @@ dump1090-mutability (1.15~dev) UNRELEASED; urgency=medium
|
||||||
received data clobbering old data under CPU overload.
|
received data clobbering old data under CPU overload.
|
||||||
* Fix endian issues affecting big-endian hosts in Beast input/output
|
* Fix endian issues affecting big-endian hosts in Beast input/output
|
||||||
and avrmlat output. (github issue #44)
|
and avrmlat output. (github issue #44)
|
||||||
|
* Fix queueing/resending very old Mode A/C messages (github issue #47)
|
||||||
|
|
||||||
-- Oliver Jowett <oliver@mutability.co.uk> Thu, 19 Feb 2015 22:39:19 +0000
|
-- Oliver Jowett <oliver@mutability.co.uk> Thu, 19 Feb 2015 22:39:19 +0000
|
||||||
|
|
||||||
|
|
9
mode_s.c
9
mode_s.c
|
@ -1221,18 +1221,17 @@ void useModesMessage(struct modesMessage *mm) {
|
||||||
// Otherwise, apply a sanity-check filter and only
|
// Otherwise, apply a sanity-check filter and only
|
||||||
// forward messages when we have seen two of them.
|
// forward messages when we have seen two of them.
|
||||||
|
|
||||||
// TODO: buffer the original message and forward it when we
|
|
||||||
// see a second message?
|
|
||||||
|
|
||||||
if (Modes.net) {
|
if (Modes.net) {
|
||||||
if (Modes.net_verbatim || a->messages > 1) {
|
if (Modes.net_verbatim || mm->msgtype == 32) {
|
||||||
|
// Unconditionally send
|
||||||
|
modesQueueOutput(mm);
|
||||||
|
} else if (a->messages > 1) {
|
||||||
// If this is the second message, and we
|
// If this is the second message, and we
|
||||||
// squelched the first message, then re-emit the
|
// squelched the first message, then re-emit the
|
||||||
// first message now.
|
// first message now.
|
||||||
if (!Modes.net_verbatim && a->messages == 2) {
|
if (!Modes.net_verbatim && a->messages == 2) {
|
||||||
modesQueueOutput(&a->first_message);
|
modesQueueOutput(&a->first_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
modesQueueOutput(mm);
|
modesQueueOutput(mm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue