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