diff options
-rw-r--r-- | host/lib/usrp/multi_usrp_rfnoc.cpp | 4 |
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); |