summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-25 12:05:34 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-25 12:05:34 +0100
commit8eb2b6842570af606c797d1bc8da55bb27487b99 (patch)
tree9546c7d4a2c3d6a178da0ad7baa74b40e6b43650 /src/DabMod.cpp
parent53c31e288732cfcee9bb04d3768b6015083e05ce (diff)
downloaddabmod-8eb2b6842570af606c797d1bc8da55bb27487b99.tar.gz
dabmod-8eb2b6842570af606c797d1bc8da55bb27487b99.tar.bz2
dabmod-8eb2b6842570af606c797d1bc8da55bb27487b99.zip
Add ability to set UHD LO offset
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 37db71a..741ac73 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -503,6 +503,7 @@ int launch_modulator(int argc, char* argv[])
throw std::runtime_error("Configuration error");
}
+ outputuhd_conf.lo_offset = pt.get<double>("uhdoutput.lo_offset", 0);
outputuhd_conf.refclk_src = pt.get("uhdoutput.refclk_source", "internal");
outputuhd_conf.pps_src = pt.get("uhdoutput.pps_source", "none");