Warn if --modeac is used together with --oversample.
This commit is contained in:
parent
727a59e8eb
commit
2db9d62c1c
2 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue