summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gr_uhd_usrp_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/include/gr_uhd_usrp_source.h')
-rw-r--r--gr-uhd/include/gr_uhd_usrp_source.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h
index 6e51a1423f..ea45ef101c 100644
--- a/gr-uhd/include/gr_uhd_usrp_source.h
+++ b/gr-uhd/include/gr_uhd_usrp_source.h
@@ -24,6 +24,7 @@
#include <gr_uhd_api.h>
#include <gr_sync_block.h>
+#include <gr_msg_queue.h>
#include <uhd/usrp/multi_usrp.hpp>
class uhd_usrp_source;
@@ -31,7 +32,8 @@ class uhd_usrp_source;
GR_UHD_API boost::shared_ptr<uhd_usrp_source> uhd_make_usrp_source(
const uhd::device_addr_t &device_addr,
const uhd::io_type_t &io_type,
- size_t num_channels
+ size_t num_channels,
+ gr_msg_queue_sptr async_queue = gr_msg_queue_sptr()
);
class GR_UHD_API uhd_usrp_source : virtual public gr_sync_block{