aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2021-04-07 10:05:24 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-04-09 14:12:08 -0500
commit6010c2f722cc4d281aade8772d355add01bd293e (patch)
tree71c124e82ebf349550e4985b6c256867ecffd26b /host/lib
parentad533eb6416c76d2a986c97fff846785ee56567e (diff)
downloaduhd-6010c2f722cc4d281aade8772d355add01bd293e.tar.gz
uhd-6010c2f722cc4d281aade8772d355add01bd293e.tar.bz2
uhd-6010c2f722cc4d281aade8772d355add01bd293e.zip
UHD: Fix typo in has_tx_power_reference
The has_tx_power_reference called has_rx_power_reference by mistake.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp
index bed364e60..6d0de68f9 100644
--- a/host/lib/usrp/multi_usrp_rfnoc.cpp
+++ b/host/lib/usrp/multi_usrp_rfnoc.cpp
@@ -1992,7 +1992,7 @@ public:
bool has_tx_power_reference(const size_t chan = 0) override
{
auto& tx_chain = _get_tx_chan(chan);
- return tx_chain.radio->has_rx_power_reference(tx_chain.block_chan);
+ return tx_chain.radio->has_tx_power_reference(tx_chain.block_chan);
}
void set_tx_power_reference(const double power_dbm, const size_t chan = 0) override