diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-12-10 15:55:16 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-16 09:20:01 -0600 |
commit | e46a6fdd21e22c57c5fc22b6ae39093ae8e3fef0 (patch) | |
tree | e35d025533965ef5a5a5ec2b3ea8aad81d7b4c5f | |
parent | 65af3c3394bb94f82a005796d946776c08a20275 (diff) | |
download | uhd-e46a6fdd21e22c57c5fc22b6ae39093ae8e3fef0.tar.gz uhd-e46a6fdd21e22c57c5fc22b6ae39093ae8e3fef0.tar.bz2 uhd-e46a6fdd21e22c57c5fc22b6ae39093ae8e3fef0.zip |
uhd: Fix RFNoC-capable detection in uhd_usrp_probe
For RFNoC devices, it now displays "RFNoC capable: Yes", like it did in
UHD 3.
-rw-r--r-- | host/utils/uhd_usrp_probe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>(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; |