mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
examples: use coerced bandwidth for display
This commit is contained in:
parent
1cb0b04df2
commit
56978cc8b9
@ -148,8 +148,8 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
|
||||
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() / 1e6)
|
||||
bw = usrp->get_rx_bandwidth();
|
||||
std::cout << boost::format("Actual RX Bandwidth: %f MHz...") % (bw / 1e6)
|
||||
<< std::endl
|
||||
<< std::endl;
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user