aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rx_samples_to_file.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-02-12 11:04:29 +0100
committerMartin Braun <martin.braun@ettus.com>2015-02-12 11:04:29 +0100
commit8086c2e32c8a71e3b50c63620a18f63b994628aa (patch)
tree08247dcad2cb3ba1e4d973be7b50962203e04d93 /host/examples/rx_samples_to_file.cpp
parente28d7844b0c9d206bf5b7737a44c22f29e761ec1 (diff)
parentec7eedcca8418970e081b4875c2d5c147611025b (diff)
downloaduhd-8086c2e32c8a71e3b50c63620a18f63b994628aa.tar.gz
uhd-8086c2e32c8a71e3b50c63620a18f63b994628aa.tar.bz2
uhd-8086c2e32c8a71e3b50c63620a18f63b994628aa.zip
Merge branch 'maint'
Conflicts: host/examples/rx_samples_to_file.cpp
Diffstat (limited to 'host/examples/rx_samples_to_file.cpp')
-rw-r--r--host/examples/rx_samples_to_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/rx_samples_to_file.cpp b/host/examples/rx_samples_to_file.cpp
index 4e6d8139f..f71c4ed47 100644
--- a/host/examples/rx_samples_to_file.cpp
+++ b/host/examples/rx_samples_to_file.cpp
@@ -304,9 +304,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//set the IF filter bandwidth
if (vm.count("bw")) {
- std::cout << boost::format("Setting RX Bandwidth: %f MHz...") % bw << std::endl;
+ std::cout << boost::format("Setting RX Bandwidth: %f MHz...") % (bw/1e6) << std::endl;
usrp->set_rx_bandwidth(bw);
- std::cout << boost::format("Actual RX Bandwidth: %f MHz...") % usrp->get_rx_bandwidth() << std::endl << std::endl;
+ std::cout << boost::format("Actual RX Bandwidth: %f MHz...") % (usrp->get_rx_bandwidth()/1e6) << std::endl << std::endl;
}
//set the antenna