aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-02-26 13:50:39 -0800
committerAshish Chaudhari <ashish@ettus.com>2015-02-26 13:50:39 -0800
commite994fad15798e7f2f7a7c34f20bbdee0e6d5ed1a (patch)
treeea51a231b2a1dffe79dbbcb9bb8785d11e7f1296 /host/utils
parent566dbc2b5d0751167c9d868743dbebfff4d22afe (diff)
parent963dcaa6a75862aec9ee4924dd88fa0901b39934 (diff)
downloaduhd-e994fad15798e7f2f7a7c34f20bbdee0e6d5ed1a.tar.gz
uhd-e994fad15798e7f2f7a7c34f20bbdee0e6d5ed1a.tar.bz2
uhd-e994fad15798e7f2f7a7c34f20bbdee0e6d5ed1a.zip
Merge branch 'maint'
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/uhd_usrp_probe.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp
index 656cdf45a..ea346b4c9 100644
--- a/host/utils/uhd_usrp_probe.cpp
+++ b/host/utils/uhd_usrp_probe.cpp
@@ -88,6 +88,11 @@ static std::string get_frontend_pp_string(const std::string &type, property_tree
meta_range_t gain_range = tree->access<meta_range_t>(path / "gains" / name / "range").get();
ss << boost::format("Gain range %s: %.1f to %.1f step %.1f dB") % name % gain_range.start() % gain_range.stop() % gain_range.step() << std::endl;
}
+ if (tree->exists(path / "bandwidth" / "range"))
+ {
+ meta_range_t bw_range = tree->access<meta_range_t>(path / "bandwidth" / "range").get();
+ ss << boost::format("Bandwidth range: %.1f to %.1f step %.1f Hz") % bw_range.start() % bw_range.stop() % bw_range.step() << std::endl;
+ }
ss << boost::format("Connection Type: %s") % (tree->access<std::string>(path / "connection").get()) << std::endl;
ss << boost::format("Uses LO offset: %s") % ((tree->access<bool>(path / "use_lo_offset").get())? "Yes" : "No") << std::endl;