aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-24 15:35:30 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-24 15:35:30 +0200
commitb102ff50555518606b8356bbc1dd70e233d0466c (patch)
treed7f52504d3ea43af6f379cd206bc2d8ab84c315a /src/ConfigParser.cpp
parent61b3fa742e24acc6b1b7747b3e863dff43670d51 (diff)
downloaddabmod-b102ff50555518606b8356bbc1dd70e233d0466c.tar.gz
dabmod-b102ff50555518606b8356bbc1dd70e233d0466c.tar.bz2
dabmod-b102ff50555518606b8356bbc1dd70e233d0466c.zip
Add channel to SDR RC
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 68ee74b..1219ae7 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -251,7 +251,7 @@ static void parse_configfile(
throw std::runtime_error("Configuration error");
}
else if (sdr_device_config.frequency == 0) {
- sdr_device_config.frequency = parseChannel(chan);
+ sdr_device_config.frequency = parse_channel(chan);
}
else if (sdr_device_config.frequency != 0 && chan != "") {
std::cerr << " UHD output: cannot define both frequency and channel.\n";
@@ -305,7 +305,7 @@ static void parse_configfile(
throw std::runtime_error("Configuration error");
}
else if (outputsoapy_conf.frequency == 0) {
- outputsoapy_conf.frequency = parseChannel(chan);
+ outputsoapy_conf.frequency = parse_channel(chan);
}
else if (outputsoapy_conf.frequency != 0 && chan != "") {
std::cerr << " soapy output: cannot define both frequency and channel.\n";
@@ -333,7 +333,7 @@ static void parse_configfile(
throw std::runtime_error("Configuration error");
}
else if (outputdexter_conf.frequency == 0) {
- outputdexter_conf.frequency = parseChannel(chan);
+ outputdexter_conf.frequency = parse_channel(chan);
}
else if (outputdexter_conf.frequency != 0 && chan != "") {
std::cerr << " dexter output: cannot define both frequency and channel.\n";
@@ -362,7 +362,7 @@ static void parse_configfile(
throw std::runtime_error("Configuration error");
}
else if (outputlime_conf.frequency == 0) {
- outputlime_conf.frequency = parseChannel(chan);
+ outputlime_conf.frequency = parse_channel(chan);
}
else if (outputlime_conf.frequency != 0 && chan != "") {
std::cerr << " Lime output: cannot define both frequency and channel.\n";
@@ -391,7 +391,7 @@ static void parse_configfile(
throw std::runtime_error("Configuration error");
}
else if (outputbladerf_conf.frequency == 0) {
- outputbladerf_conf.frequency = parseChannel(chan);
+ outputbladerf_conf.frequency = parse_channel(chan);
}
else if (outputbladerf_conf.frequency != 0 && chan != "") {
std::cerr << " BladeRF output: cannot define both frequency and channel.\n";