summaryrefslogtreecommitdiff
path: root/gr-uhd/lib
diff options
context:
space:
mode:
authorJosh Blum2011-01-26 13:32:56 -0800
committerJosh Blum2011-02-08 14:58:59 -0800
commit222465e2bc9ffc7f378c698876f44b3f722e0d37 (patch)
tree835711038bda1bbc9a8d4818a8e3f5933695d4b3 /gr-uhd/lib
parent8afa393725c2bfda7c341b7202acfa40cc3245d2 (diff)
downloadgnuradio-222465e2bc9ffc7f378c698876f44b3f722e0d37.tar.gz
gnuradio-222465e2bc9ffc7f378c698876f44b3f722e0d37.tar.bz2
gnuradio-222465e2bc9ffc7f378c698876f44b3f722e0d37.zip
uhd: channel = 0 defaults for single interfaces get_dboard_iface
Diffstat (limited to 'gr-uhd/lib')
-rw-r--r--gr-uhd/lib/uhd_single_usrp_sink.h2
-rw-r--r--gr-uhd/lib/uhd_single_usrp_source.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_single_usrp_sink.h b/gr-uhd/lib/uhd_single_usrp_sink.h
index 23342570d..f8b8479aa 100644
--- a/gr-uhd/lib/uhd_single_usrp_sink.h
+++ b/gr-uhd/lib/uhd_single_usrp_sink.h
@@ -168,7 +168,7 @@ public:
* Get access to the underlying uhd dboard iface object.
* \return the dboard_iface object
*/
- virtual uhd::usrp::dboard_iface::sptr get_dboard_iface(size_t chan) = 0;
+ virtual uhd::usrp::dboard_iface::sptr get_dboard_iface(size_t chan = 0) = 0;
/*!
* Get access to the underlying uhd device object.
diff --git a/gr-uhd/lib/uhd_single_usrp_source.h b/gr-uhd/lib/uhd_single_usrp_source.h
index 425108828..2808e8563 100644
--- a/gr-uhd/lib/uhd_single_usrp_source.h
+++ b/gr-uhd/lib/uhd_single_usrp_source.h
@@ -168,7 +168,7 @@ public:
* Get access to the underlying uhd dboard iface object.
* \return the dboard_iface object
*/
- virtual uhd::usrp::dboard_iface::sptr get_dboard_iface(size_t chan) = 0;
+ virtual uhd::usrp::dboard_iface::sptr get_dboard_iface(size_t chan = 0) = 0;
/*!
* Get access to the underlying uhd device object.