aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Raeman <david@synopticengineering.com>2022-05-14 23:32:00 +0000
committerAaron Rossetto <aaron.rossetto@ni.com>2022-06-08 13:44:08 -0700
commit722ae69156e67b3c7ef075f3f4be9a870002b0d1 (patch)
treecca89281f2621bffa8efaeb1ac851340728052a2
parentci: Run multiple fpgas per job (diff)
downloaduhd-722ae69156e67b3c7ef075f3f4be9a870002b0d1.tar.xz
uhd-722ae69156e67b3c7ef075f3f4be9a870002b0d1.zip
uhd: fix minor typo when querying tx sensors property tree
-rw-r--r--host/lib/usrp/multi_usrp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 0427a4941..8da32158a 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -2306,7 +2306,7 @@ public:
std::vector<std::string> get_tx_sensor_names(size_t chan) override
{
std::vector<std::string> sensor_names;
- if (_tree->exists(rx_rf_fe_root(chan) / "sensors")) {
+ if (_tree->exists(tx_rf_fe_root(chan) / "sensors")) {
sensor_names = _tree->list(tx_rf_fe_root(chan) / "sensors");
}
return sensor_names;