aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-29 10:54:28 -0700
committerJosh Blum <josh@joshknows.com>2011-06-29 10:54:28 -0700
commitadbe1a0efe7598a9e0433675e2852aad2e280c62 (patch)
tree3ff0bec87ff979f091e3233bf06118670e2535fe /host/utils
parentd2f79c07281604c1b48ec81f1cdb2754e97bbe65 (diff)
downloaduhd-adbe1a0efe7598a9e0433675e2852aad2e280c62.tar.gz
uhd-adbe1a0efe7598a9e0433675e2852aad2e280c62.tar.bz2
uhd-adbe1a0efe7598a9e0433675e2852aad2e280c62.zip
uhd: loopback working on usrp2
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/uhd_usrp_probe.cpp3
1 files changed, 2 insertions, 1 deletions
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<double>(path.branch_path().branch_path() / "tick_rate").get()/1e6) << std::endl;
+ meta_range_t freq_range = tree->access<meta_range_t>(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();
}