summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/gr_uhd_amsg_source.cc
diff options
context:
space:
mode:
authorJohnathan Corgan2012-03-24 10:19:10 -0700
committerJohnathan Corgan2012-03-24 10:19:10 -0700
commit87c8751c99cfb2191bea19557d158fdd952c56eb (patch)
tree13addc35fc271ac58d0a255c41f11879a2ffd7e4 /gr-uhd/lib/gr_uhd_amsg_source.cc
parent60e31043e2fc5e44d1376725addd485d183c7d1c (diff)
parent0aeee7ffb7c7244c97766681a134db2d46ab6d43 (diff)
downloadgnuradio-87c8751c99cfb2191bea19557d158fdd952c56eb.tar.gz
gnuradio-87c8751c99cfb2191bea19557d158fdd952c56eb.tar.bz2
gnuradio-87c8751c99cfb2191bea19557d158fdd952c56eb.zip
Merge remote branch 'jblum/mergeme_uhd'
Diffstat (limited to 'gr-uhd/lib/gr_uhd_amsg_source.cc')
-rw-r--r--gr-uhd/lib/gr_uhd_amsg_source.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-uhd/lib/gr_uhd_amsg_source.cc b/gr-uhd/lib/gr_uhd_amsg_source.cc
index 08941584b..67e402f6b 100644
--- a/gr-uhd/lib/gr_uhd_amsg_source.cc
+++ b/gr-uhd/lib/gr_uhd_amsg_source.cc
@@ -1,5 +1,5 @@
/*
- * Copyright 2011 Free Software Foundation, Inc.
+ * Copyright 2011-2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -22,6 +22,7 @@
#include <gr_uhd_amsg_source.h>
#include <boost/bind.hpp>
#include <gruel/thread.h>
+#include "gr_uhd_common.h"
/***********************************************************************
* UHD Asynchronous Message Source Impl
@@ -87,6 +88,7 @@ boost::shared_ptr<uhd_amsg_source> uhd_make_amsg_source(
const uhd::device_addr_t &device_addr,
gr_msg_queue_sptr msgq
){
+ gr_uhd_check_abi();
return boost::shared_ptr<uhd_amsg_source>(
new uhd_amsg_source_impl(device_addr, msgq)
);