aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-10-30 10:46:10 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-10-30 10:46:10 +0100
commit90345f6b82deaa64b9f0387b17eb6f532330dc7f (patch)
tree14d136a5a5a32e55abe9220159853065e9db768e /src
parent9839d0f93fe92123335a0dcc4f7cdd0716b628f8 (diff)
downloaddabmod-90345f6b82deaa64b9f0387b17eb6f532330dc7f.tar.gz
dabmod-90345f6b82deaa64b9f0387b17eb6f532330dc7f.tar.bz2
dabmod-90345f6b82deaa64b9f0387b17eb6f532330dc7f.zip
Set default UHD settings for command line
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 553bada..982a1ee 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -260,6 +260,9 @@ int launch_modulator(int argc, char* argv[])
throw std::invalid_argument("Invalid command line options");
}
outputuhd_conf.device = optarg;
+ outputuhd_conf.refclk_src = "internal";
+ outputuhd_conf.pps_src = "none";
+ outputuhd_conf.pps_polarity = "pos";
useUHDOutput = 1;
#endif
break;