diff --git a/plugins/samplesource/bladerf/bladerfinput.cpp b/plugins/samplesource/bladerf/bladerfinput.cpp index f4ce00d04..b2bcc824d 100644 --- a/plugins/samplesource/bladerf/bladerfinput.cpp +++ b/plugins/samplesource/bladerf/bladerfinput.cpp @@ -330,17 +330,17 @@ bool BladerfInput::applySettings(const GeneralSettings& generalSettings, const S } if((m_settings.m_log2Decim != settings.m_log2Decim) || force) { + m_settings.m_log2Decim = settings.m_log2Decim; if(m_dev != NULL) { - m_settings.m_log2Decim = settings.m_log2Decim; - m_bladerfThread->setLog2Decimation(settings.m_log2Decim); + m_bladerfThread->setLog2Decimation(m_settings.m_log2Decim); std::cerr << "BladerfInput: set decimation to " << (1<setFcPos((int) settings.m_fcPos); + m_bladerfThread->setFcPos((int) m_settings.m_fcPos); std::cerr << "BladerfInput: set fc pos (enum) to " << (int) m_settings.m_fcPos << std::endl; } }