parent
6148a05cef
commit
e6c81251bf
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -5,6 +5,8 @@ dump1090-mutability (1.15~dev) UNRELEASED; urgency=medium
|
||||||
isn't root. (github issue #24)
|
isn't root. (github issue #24)
|
||||||
* Don't fail on postinst if the given user exists but is outside
|
* Don't fail on postinst if the given user exists but is outside
|
||||||
the usual system user UID range. (github issue #24)
|
the usual system user UID range. (github issue #24)
|
||||||
|
* Fix timestamp correction when sample blocks are dropped. (github
|
||||||
|
issue #43)
|
||||||
|
|
||||||
-- 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
|
||||||
|
|
||||||
|
|
|
@ -1065,6 +1065,9 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
// If we lost some blocks, correct the timestamp
|
// If we lost some blocks, correct the timestamp
|
||||||
if (Modes.iDataLost) {
|
if (Modes.iDataLost) {
|
||||||
|
if (Modes.oversample)
|
||||||
|
Modes.timestampBlk += (MODES_ASYNC_BUF_SAMPLES * 5 * Modes.iDataLost);
|
||||||
|
else
|
||||||
Modes.timestampBlk += (MODES_ASYNC_BUF_SAMPLES * 6 * Modes.iDataLost);
|
Modes.timestampBlk += (MODES_ASYNC_BUF_SAMPLES * 6 * Modes.iDataLost);
|
||||||
Modes.stats_current.blocks_dropped += Modes.iDataLost;
|
Modes.stats_current.blocks_dropped += Modes.iDataLost;
|
||||||
Modes.iDataLost = 0;
|
Modes.iDataLost = 0;
|
||||||
|
|
Loading…
Reference in a new issue