soapy lms - removed duplicate hooks for loopback gain
@@ -426,11 +426,6 @@ void SoapyLMS7::setGain(const int direction, const size_t channel, const std::st
rfic->SetRFELoopbackLNA_dB(value);
}
- else if (direction == SOAPY_SDR_RX and name == "LB_LNA")
- {
- rfic->SetRFELoopbackLNA_dB(value);
- }
-
else if (direction == SOAPY_SDR_RX and name == "TIA")
{
rfic->SetRFETIA_dB(value);
@@ -451,11 +446,6 @@ void SoapyLMS7::setGain(const int direction, const size_t channel, const std::st
rfic->SetTRFLoopbackPAD_dB(value);
}
- else if (direction == SOAPY_SDR_TX and name == "LB_PAD")
- {
- rfic->SetTRFLoopbackPAD_dB(value);
- }
-
else throw std::runtime_error("SoapyLMS7::setGain("+name+") - unknown gain name");
SoapySDR::logf(SOAPY_SDR_DEBUG, "Actual %s%s[%d] gain %g dB", dirName, name.c_str(), int(channel), this->getGain(direction, channel, name));
