diff options
-rw-r--r-- | src/DabMod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index 1e80025..6bcf900 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -468,7 +468,7 @@ int main(int argc, char* argv[]) } outputuhd_conf.frequency = freq; } - else { + if (outputuhd_conf.frequency != 0 && chan != "") { std::cerr << " UHD output: cannot define both frequency and channel.\n"; goto END_MAIN; } |