Commit 5dac76bf authored by Richard's avatar Richard

Soapy: don't use SetRate(direction)

parent 842d6a4a
Pipeline #154708822 passed with stage
in 13 minutes and 37 seconds
......@@ -444,7 +444,8 @@ void SoapyLMS7::setSampleRate(const int direction, const size_t channel, const d
deactivateStream(s);
SoapySDR::logf(SOAPY_SDR_DEBUG, "setSampleRate(%s, %d, %g MHz)", dirName, int(channel), rate/1e6);
auto ret = lms7Device->SetRate(direction == SOAPY_SDR_TX, rate, oversampling);
//auto ret = lms7Device->SetRate(direction == SOAPY_SDR_TX, rate, oversampling);
auto ret = lms7Device->SetRate(rate, oversampling);
//if bandwidth is not explicitly selected set it to sample rate
if (mChannels[bool(direction)].at(channel).bw < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment