summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-17 20:29:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-17 20:29:54 +0100
commita0eda7372e525c3b7d292c042155be19c34856f8 (patch)
treec4702b42806647ef62ef76c72dfc33901b52d801 /src
parent8cbe4f5d886264c8f5ace132922d7168065ebc55 (diff)
downloaddabmod-a0eda7372e525c3b7d292c042155be19c34856f8.tar.gz
dabmod-a0eda7372e525c3b7d292c042155be19c34856f8.tar.bz2
dabmod-a0eda7372e525c3b7d292c042155be19c34856f8.zip
really fix channel/frequency choice logic
Note to self: learn to try out code before pushing eagerly
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 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;
}