aboutsummaryrefslogtreecommitdiffstats
path: root/lib/soapy/soapy_sink_c.cc
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2015-02-24 20:36:36 -0800
committerJosh Blum <josh@joshknows.com>2015-02-24 20:36:36 -0800
commit61184a19e7db7a9579908fa512617327998b00d5 (patch)
treead5ca80d9f7cedd0c971d00571834bd9c94db63c /lib/soapy/soapy_sink_c.cc
parent53ed8918f396508133374e7ddc1beae9c8e67c6a (diff)
soapy: make use of per component freq api
Diffstat (limited to 'lib/soapy/soapy_sink_c.cc')
-rw-r--r--lib/soapy/soapy_sink_c.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/soapy/soapy_sink_c.cc b/lib/soapy/soapy_sink_c.cc
index 076aa56..dd4130e 100644
--- a/lib/soapy/soapy_sink_c.cc
+++ b/lib/soapy/soapy_sink_c.cc
@@ -167,9 +167,7 @@ double soapy_sink_c::get_center_freq( size_t chan)
double soapy_sink_c::set_freq_corr( double ppm, size_t chan)
{
- SoapySDR::Kwargs kw;
- kw["CORR"] = boost::lexical_cast<std::string>(ppm);
- _device->setFrequency(SOAPY_SDR_TX, chan, this->get_center_freq(chan), kw);
+ _device->setFrequency(SOAPY_SDR_TX, chan, "CORR", ppm);
return this->get_freq_corr(chan);
}