From adbe1a0efe7598a9e0433675e2852aad2e280c62 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 29 Jun 2011 10:54:28 -0700 Subject: uhd: loopback working on usrp2 --- host/utils/uhd_usrp_probe.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/utils') diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp index e90f82ee8..caf419719 100644 --- a/host/utils/uhd_usrp_probe.cpp +++ b/host/utils/uhd_usrp_probe.cpp @@ -55,7 +55,8 @@ static std::string get_dsp_pp_string(const std::string &type, property_tree::spt std::stringstream ss; ss << boost::format("%s DSP: %s") % type % path.leaf() << std::endl; //ss << std::endl; - ss << boost::format("DSP Rate: %f Msps") % (tree->access(path.branch_path().branch_path() / "tick_rate").get()/1e6) << std::endl; + meta_range_t freq_range = tree->access(path / "freq/range").get(); + ss << boost::format("Freq range: %.3f to %.3f Mhz") % (freq_range.start()/1e6) % (freq_range.stop()/1e6) << std::endl;; return ss.str(); } -- cgit v1.2.3