From e786178db9c2b3ee723083fbcfb16f66ef7dc4b6 Mon Sep 17 00:00:00 2001 From: David Raeman Date: Sat, 14 May 2022 23:32:00 +0000 Subject: uhd: fix minor typo when querying tx sensors property tree --- host/lib/usrp/multi_usrp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') 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 get_tx_sensor_names(size_t chan) override { std::vector 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; -- cgit v1.2.3