summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_mimo_source.cc
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-05 17:35:16 -0700
committerJosh Blum <josh@joshknows.com>2010-08-05 17:35:16 -0700
commit068cac15d2d4ef787dee7bcbb1158c03805b2656 (patch)
treec48c7ef823bae0ee44ce6126bba086d9e9c3d92a /gr-uhd/lib/uhd_mimo_source.cc
parentc3c4303b9fa4987369e9641ab4206724da74f3b2 (diff)
uhd: added subdev spec setting to gr-uhd blocks, and simple uhd grc wrappers (mimo coming)
Diffstat (limited to 'gr-uhd/lib/uhd_mimo_source.cc')
-rw-r--r--gr-uhd/lib/uhd_mimo_source.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_mimo_source.cc b/gr-uhd/lib/uhd_mimo_source.cc
index b620a56fca..718af08f55 100644
--- a/gr-uhd/lib/uhd_mimo_source.cc
+++ b/gr-uhd/lib/uhd_mimo_source.cc
@@ -53,6 +53,10 @@ public:
set_streaming(false);
}
+ void set_subdev_spec(size_t chan, const std::string &spec){
+ return _dev->set_rx_subdev_spec(chan, spec);
+ }
+
void set_samp_rate_all(double rate){
_dev->set_rx_rate_all(rate);
do_samp_rate_error_message(rate, get_samp_rate_all(), "RX");