Warn if --modeac is used together with --oversample.
This commit is contained in:
parent
727a59e8eb
commit
2db9d62c1c
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -6,6 +6,7 @@ dump1090-mutability (1.08.2302.14+1mu-4) UNRELEASED; urgency=medium
|
|||
* Add support for controlling the accuracy of the receiver location
|
||||
written in the JSON metadata used by the webmap.
|
||||
* Oversampling is now less scary!
|
||||
* Warn if --modeac is used together with --oversample.
|
||||
|
||||
-- Oliver Jowett <oliver@mutability.co.uk> Sat, 27 Dec 2014 20:08:44 +0000
|
||||
|
||||
|
|
|
@ -867,6 +867,12 @@ int main(int argc, char **argv) {
|
|||
if (Modes.interactive) {signal(SIGWINCH, sigWinchCallback);}
|
||||
#endif
|
||||
|
||||
if (Modes.mode_ac && Modes.oversample) {
|
||||
fprintf(stderr,
|
||||
"Warning: --modeac is currently ignored when --oversample is used;\n"
|
||||
" no ModeA/C messages will be decoded.\n");
|
||||
}
|
||||
|
||||
// Initialization
|
||||
modesInit();
|
||||
|
||||
|
|
Loading…
Reference in a new issue