diff options
author | Lars Amsel <lars.amsel@ni.com> | 2021-06-16 19:09:02 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-06-18 07:31:23 -0500 |
commit | 97575b4cc76f7c8fac82362d6ef95a7631655e8c (patch) | |
tree | 62a74f7de6fb952c6840b866e3c69353e0abdbb5 | |
parent | f69d88ed1f9f19c8ba7ab135d654695c7e5fea8f (diff) | |
download | uhd-97575b4cc76f7c8fac82362d6ef95a7631655e8c.tar.gz uhd-97575b4cc76f7c8fac82362d6ef95a7631655e8c.tar.bz2 uhd-97575b4cc76f7c8fac82362d6ef95a7631655e8c.zip |
uhd: Add missing channel parameter when reading power ref keys
-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 8a11be122..43a084b95 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(); + const auto rx_power_ref_keys = rx_chain.radio->get_rx_power_ref_keys(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(); + const auto tx_power_ref_keys = tx_chain.radio->get_tx_power_ref_keys(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); |