diff options
author | Josh Blum | 2012-03-22 15:30:56 -0700 |
---|---|---|
committer | Josh Blum | 2012-03-23 14:10:19 -0700 |
commit | 90213d65782dbbc612494ed28568e23b42961488 (patch) | |
tree | 8d33f30f384e3a24d8e4e29053a2f79b8135bb32 /gr-uhd/lib/gr_uhd_usrp_source.cc | |
parent | a751e4884d918c079d07d3108f5561ac43c3553e (diff) | |
download | gnuradio-90213d65782dbbc612494ed28568e23b42961488.tar.gz gnuradio-90213d65782dbbc612494ed28568e23b42961488.tar.bz2 gnuradio-90213d65782dbbc612494ed28568e23b42961488.zip |
uhd: perform abi compat check before making a block
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index e52782847..9fd2d175a 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -25,6 +25,7 @@ #include <iostream> #include <boost/format.hpp> #include <boost/make_shared.hpp> +#include "gr_uhd_common.h" static const pmt::pmt_t TIME_KEY = pmt::pmt_string_to_symbol("rx_time"); @@ -513,6 +514,7 @@ boost::shared_ptr<uhd_usrp_source> uhd_make_usrp_source( const uhd::device_addr_t &device_addr, const uhd::stream_args_t &stream_args ){ + gr_uhd_check_abi(); return boost::shared_ptr<uhd_usrp_source>( new uhd_usrp_source_impl(device_addr, stream_args) ); |