summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorF5OEO <evaristec@gmail.com>2018-12-10 19:51:44 +0000
committerF5OEO <evaristec@gmail.com>2018-12-10 19:51:44 +0000
commite904cf0165ee80989c6d86572684997109d21fa8 (patch)
tree78922727ea1f296f4e516a684545308f3866acc2 /src/ConfigParser.cpp
parent352ee913f5cefc47d5cd1cf73b5b6a70b5369bef (diff)
downloaddabmod-e904cf0165ee80989c6d86572684997109d21fa8.tar.gz
dabmod-e904cf0165ee80989c6d86572684997109d21fa8.tar.bz2
dabmod-e904cf0165ee80989c6d86572684997109d21fa8.zip
First working minimal live version
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 8c80513..209ebe4 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -310,11 +310,14 @@ static void parse_configfile(
#if defined(HAVE_LIMESDR)
else if (output_selected == "limesdr") {
auto& outputlime_conf = mod_settings.sdr_device_config;
- outputlime_conf.device = pt.Get("soapyoutput.device", "");
- outputlime_conf.masterClockRate = pt.GetInteger("soapyoutput.master_clock_rate", 0);
-
- outputlime_conf.txgain = pt.GetReal("soapyoutput.txgain", 0.0);
- outputlime_conf.tx_antenna = pt.Get("soapyoutput.tx_antenna", "");
+ outputlime_conf.device = pt.Get("limeoutput.device", "");
+ outputlime_conf.masterClockRate = pt.GetInteger("limeoutput.master_clock_rate", 0);
+
+ outputlime_conf.txgain = pt.GetReal("limeoutput.txgain", 0.0);
+ outputlime_conf.txgain = pt.GetReal("limeoutput.txgain", 0.0);
+ outputlime_conf.txgain = pt.GetReal("limeoutput.txgain", 0.0);
+ outputlime_conf.txgain = pt.GetReal("limeoutput.txgain", 0.0);
+ outputlime_conf.tx_antenna = pt.Get("limeoutput.tx_antenna", "");
outputlime_conf.lo_offset = pt.GetReal("soapyoutput.lo_offset", 0.0);
outputlime_conf.frequency = pt.GetReal("soapyoutput.frequency", 0);
std::string chan = pt.Get("soapyoutput.channel", "");