mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
rh: Fix auto DC-offset correction and auto-IQ balance APIs
N320 doesn't have an automatic RX IQ balance correction, so that API is removed. The auto-DC offset correction was calling into the manual DC offset correction code, which means auto-DC offset correction was never enabled for N320.
This commit is contained in:
parent
0f450cc774
commit
ba534af868
@ -620,7 +620,7 @@ void rhodium_radio_control_impl::set_tx_iq_balance(
|
||||
|
||||
void rhodium_radio_control_impl::set_rx_dc_offset(const bool enb, size_t)
|
||||
{
|
||||
_rx_fe_core->set_dc_offset(enb);
|
||||
_rx_fe_core->set_dc_offset_auto(enb);
|
||||
}
|
||||
|
||||
void rhodium_radio_control_impl::set_rx_dc_offset(
|
||||
@ -636,11 +636,6 @@ meta_range_t rhodium_radio_control_impl::get_rx_dc_offset_range(size_t) const
|
||||
.get();
|
||||
}
|
||||
|
||||
void rhodium_radio_control_impl::set_rx_iq_balance(const bool enb, size_t)
|
||||
{
|
||||
_rx_fe_core->set_iq_balance(enb);
|
||||
}
|
||||
|
||||
void rhodium_radio_control_impl::set_rx_iq_balance(
|
||||
const std::complex<double>& correction, size_t)
|
||||
{
|
||||
|
||||
@ -170,7 +170,6 @@ public:
|
||||
void set_rx_dc_offset(const bool enb, size_t chan = ALL_CHANS) override;
|
||||
void set_rx_dc_offset(const std::complex<double>& offset, size_t chan) override;
|
||||
meta_range_t get_rx_dc_offset_range(size_t chan) const override;
|
||||
void set_rx_iq_balance(const bool enb, size_t chan) override;
|
||||
void set_rx_iq_balance(const std::complex<double>& correction, size_t chan) override;
|
||||
|
||||
/************************************************************************
|
||||
|
||||
Loading…
Reference in New Issue
Block a user