summaryrefslogtreecommitdiffstats
path: root/src/output/SDR.cpp
diff options
context:
space:
mode:
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;