summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.