Warn if --modeac is used together with --oversample.

This commit is contained in:
Oliver Jowett 2014-12-27 21:25:32 +00:00
parent 727a59e8eb
commit 2db9d62c1c
2 changed files with 7 additions and 0 deletions

View file

@ -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();