aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp2
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;
}