aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/SDR.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:50:09 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:50:09 +0100
commit016fa0af99a0edf2560d0faafcd212b3c4d48732 (patch)
tree2062f3cbde6913e9cb034f01e580014f487f6ffd /src/output/SDR.cpp
parentdb5e90c258f94e65df70830ab1c053debfa15cdb (diff)
downloaddabmod-016fa0af99a0edf2560d0faafcd212b3c4d48732.tar.gz
dabmod-016fa0af99a0edf2560d0faafcd212b3c4d48732.tar.bz2
dabmod-016fa0af99a0edf2560d0faafcd212b3c4d48732.zip
SDR: set rxgain
Diffstat (limited to 'src/output/SDR.cpp')
-rw-r--r--src/output/SDR.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp
index 5290e5d..ed5da13 100644
--- a/src/output/SDR.cpp
+++ b/src/output/SDR.cpp
@@ -374,8 +374,7 @@ void SDR::set_parameter(const string& parameter, const string& value)
}
else if (parameter == "rxgain") {
ss >> m_config.rxgain;
- // TODO myUsrp->set_rx_gain(m_config.rxgain);
- throw ParameterError("Parameter " + parameter + " is TODO.");
+ m_device->set_rxgain(m_config.rxgain);
}
else if (parameter == "freq") {
ss >> m_config.frequency;