aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorDavid Raeman <david@synopticengineering.com>2022-05-14 23:32:00 +0000
committerskooNI <60897865+skooNI@users.noreply.github.com>2022-07-20 15:57:20 -0500
commite786178db9c2b3ee723083fbcfb16f66ef7dc4b6 (patch)
treefa6b28384683e284a9397daaef5ab776781e5902 /host/lib
parentbe619d63f87492bcdfe8337442335e8348cac0bf (diff)
downloaduhd-e786178db9c2b3ee723083fbcfb16f66ef7dc4b6.tar.gz
uhd-e786178db9c2b3ee723083fbcfb16f66ef7dc4b6.tar.bz2
uhd-e786178db9c2b3ee723083fbcfb16f66ef7dc4b6.zip
uhd: fix minor typo when querying tx sensors property tree
Diffstat (limited to 'host/lib')
-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;