From 016fa0af99a0edf2560d0faafcd212b3c4d48732 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 14 Jan 2018 07:50:09 +0100 Subject: SDR: set rxgain --- src/output/SDR.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output/SDR.cpp') 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; -- cgit v1.2.3