aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2019-02-27 11:02:23 -0800
committerMartin Braun <martin.braun@ettus.com>2019-02-27 12:21:44 -0800
commitcb86c45895633803056fcc0fff95e2d6e9a0f1e7 (patch)
tree93977cd639debc37ad57b43fc913702ec0444f9d
parent37b3e7f06b7a2b6e0fe127c013f9882a54e1d3cd (diff)
downloaduhd-cb86c45895633803056fcc0fff95e2d6e9a0f1e7.tar.gz
uhd-cb86c45895633803056fcc0fff95e2d6e9a0f1e7.tar.bz2
uhd-cb86c45895633803056fcc0fff95e2d6e9a0f1e7.zip
rh: Fix typo in setting up RX frontend
The function for setting up the RX frontend was erroneously looking at previous TX settings to determine whether to submit a command. This fixes the issue.
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
index a8de3aa51..6b870b333 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
@@ -162,7 +162,7 @@ void rhodium_radio_ctrl_impl::_set_rx_fe_connection(const std::string &conn)
{
UHD_LOG_TRACE(unique_id(), "set_rx_fe_connection(conn=" << conn << ")");
- if (conn != _tx_fe_connection)
+ if (conn != _rx_fe_connection)
{
_rx_fe_core->set_fe_connection(conn);
_rx_fe_connection = conn;