From e46a6fdd21e22c57c5fc22b6ae39093ae8e3fef0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 10 Dec 2021 15:55:16 +0100 Subject: uhd: Fix RFNoC-capable detection in uhd_usrp_probe For RFNoC devices, it now displays "RFNoC capable: Yes", like it did in UHD 3. --- host/utils/uhd_usrp_probe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp index e7daea79f..03125a5ae 100644 --- a/host/utils/uhd_usrp_probe.cpp +++ b/host/utils/uhd_usrp_probe.cpp @@ -254,7 +254,7 @@ static std::string get_mboard_pp_string(property_tree::sptr tree, const fs_path& ss << "FPGA git hash: " << tree->access(path / "fpga_version_hash").get() << std::endl; } - if (tree->exists(path / "xbar")) { + if (tree->exists("/blocks")) { ss << "RFNoC capable: Yes" << std::endl; } ss << std::endl; -- cgit v1.2.3