From 90213d65782dbbc612494ed28568e23b42961488 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 22 Mar 2012 15:30:56 -0700 Subject: uhd: perform abi compat check before making a block --- gr-uhd/lib/gr_uhd_usrp_source.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc') 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 #include #include +#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_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( new uhd_usrp_source_impl(device_addr, stream_args) ); -- cgit