summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorJason Abele2011-04-18 14:02:37 -0700
committerJason Abele2011-04-18 18:06:27 -0700
commit6f6cef02f4d2f7750c8dcda847dda0df61407b9a (patch)
tree9f7a9ff101421d38523a0fcc83b5668dca8d14a7 /gr-uhd
parente96213a7da0c74cb0818de7d08d8f6478484364e (diff)
downloadgnuradio-6f6cef02f4d2f7750c8dcda847dda0df61407b9a.tar.gz
gnuradio-6f6cef02f4d2f7750c8dcda847dda0df61407b9a.tar.bz2
gnuradio-6f6cef02f4d2f7750c8dcda847dda0df61407b9a.zip
Added necessary swig to get i2c_writes through dboard_iface
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/swig/uhd_swig.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 3ffcc7aea..9bdb962c9 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -100,6 +100,7 @@
////////////////////////////////////////////////////////////////////////
%include stdint.i
%include <uhd/types/serial.hpp>
+%template(byte_vector_t) std::vector<uint8_t>;
%include <uhd/usrp/dboard_iface.hpp>
%template(dboard_iface_sptr) boost::shared_ptr<uhd::usrp::dboard_iface>;
@@ -129,6 +130,6 @@ static const size_t ALL_MBOARDS;
%goops %{
(use-modules (gnuradio gnuradio_core_runtime))
%}
-#endif /* SWIGGUILE */
+#endif /* SWIGGUILE */
#endif /* GR_HAVE_UHD */