aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorGrant Meyerhoff <grant.meyerhoff@ni.com>2021-06-22 14:41:38 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-23 13:56:45 -0500
commitf71bd44113820c2e8d7adc501e6d061f174e06f0 (patch)
tree9c52e5219cc719663be1964ee2dc13081c2b7985 /host
parent8adbc72f0d3c9e15d6bbf41c27f3f192e3df305f (diff)
downloaduhd-f71bd44113820c2e8d7adc501e6d061f174e06f0.tar.gz
uhd-f71bd44113820c2e8d7adc501e6d061f174e06f0.tar.bz2
uhd-f71bd44113820c2e8d7adc501e6d061f174e06f0.zip
uhd: Use chain's block channel to get power ref keys
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp
index 43a084b95..bee19215c 100644
--- a/host/lib/usrp/multi_usrp_rfnoc.cpp
+++ b/host/lib/usrp/multi_usrp_rfnoc.cpp
@@ -467,7 +467,7 @@ public:
? bytes_to_str(db_eeprom.at("rx_id"))
: db_eeprom.count("pid") ? bytes_to_str(db_eeprom.at("pid")) : "";
- const auto rx_power_ref_keys = rx_chain.radio->get_rx_power_ref_keys(chan);
+ const auto rx_power_ref_keys = rx_chain.radio->get_rx_power_ref_keys(rx_chain.block_chan);
if (!rx_power_ref_keys.empty() && rx_power_ref_keys.size() == 2) {
usrp_info["rx_ref_power_key"] = rx_power_ref_keys.at(0);
usrp_info["rx_ref_power_serial"] = rx_power_ref_keys.at(1);
@@ -501,7 +501,7 @@ public:
? bytes_to_str(db_eeprom.at("tx_id"))
: db_eeprom.count("pid") ? bytes_to_str(db_eeprom.at("pid")) : "";
- const auto tx_power_ref_keys = tx_chain.radio->get_tx_power_ref_keys(chan);
+ const auto tx_power_ref_keys = tx_chain.radio->get_tx_power_ref_keys(tx_chain.block_chan);
if (!tx_power_ref_keys.empty() && tx_power_ref_keys.size() == 2) {
usrp_info["tx_ref_power_key"] = tx_power_ref_keys.at(0);
usrp_info["tx_ref_power_serial"] = tx_power_ref_keys.at(1);