summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_multi_usrp_source.cc
diff options
context:
space:
mode:
authorJosh Blum2010-10-19 15:46:27 -0700
committerJosh Blum2010-10-19 15:46:27 -0700
commitf13e1e1a87cf3d8b891e94226be047cff3733bb7 (patch)
tree10b39f0b6acd22a75f37ce4a995e8f4eee7dc76d /gr-uhd/lib/uhd_multi_usrp_source.cc
parentc6e4a54769e2d5be3cfd28df6697c54c4a4a7e90 (diff)
downloadgnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.tar.gz
gnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.tar.bz2
gnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.zip
uhd: implement set bandwidth for uhd blocks, remove chan=0 default for multi blocks
Diffstat (limited to 'gr-uhd/lib/uhd_multi_usrp_source.cc')
-rw-r--r--gr-uhd/lib/uhd_multi_usrp_source.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_multi_usrp_source.cc b/gr-uhd/lib/uhd_multi_usrp_source.cc
index 63dad1a25..226e8b86f 100644
--- a/gr-uhd/lib/uhd_multi_usrp_source.cc
+++ b/gr-uhd/lib/uhd_multi_usrp_source.cc
@@ -96,6 +96,10 @@ public:
return _dev->get_rx_antennas(chan);
}
+ void set_bandwidth(double bandwidth, size_t chan){
+ return _dev->set_rx_bandwidth(bandwidth, chan);
+ }
+
void set_clock_config(const uhd::clock_config_t &clock_config, size_t mboard){
return _dev->set_clock_config(clock_config, mboard);
}