diff options
author | Josh Blum | 2010-08-05 17:35:16 -0700 |
---|---|---|
committer | Josh Blum | 2010-08-05 17:35:16 -0700 |
commit | 068cac15d2d4ef787dee7bcbb1158c03805b2656 (patch) | |
tree | c48c7ef823bae0ee44ce6126bba086d9e9c3d92a /gr-uhd/lib/uhd_simple_source.cc | |
parent | c3c4303b9fa4987369e9641ab4206724da74f3b2 (diff) | |
download | gnuradio-068cac15d2d4ef787dee7bcbb1158c03805b2656.tar.gz gnuradio-068cac15d2d4ef787dee7bcbb1158c03805b2656.tar.bz2 gnuradio-068cac15d2d4ef787dee7bcbb1158c03805b2656.zip |
uhd: added subdev spec setting to gr-uhd blocks, and simple uhd grc wrappers (mimo coming)
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.cc')
-rw-r--r-- | gr-uhd/lib/uhd_simple_source.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.cc b/gr-uhd/lib/uhd_simple_source.cc index 846c0faeb..2ace1da68 100644 --- a/gr-uhd/lib/uhd_simple_source.cc +++ b/gr-uhd/lib/uhd_simple_source.cc @@ -51,6 +51,10 @@ public: set_streaming(false); } + void set_subdev_spec(const std::string &spec){ + return _dev->set_rx_subdev_spec(spec); + } + void set_samp_rate(double rate){ _dev->set_rx_rate(rate); do_samp_rate_error_message(rate, get_samp_rate(), "RX"); |