summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_base.cc
diff options
context:
space:
mode:
authorjcorgan2008-12-29 01:35:48 +0000
committerjcorgan2008-12-29 01:35:48 +0000
commit50b2df2ed93de8dbba3185714a3e07e7470e1229 (patch)
tree2eb77cbebb878fc6f7ee8ebed3b5c546b5e330bd /gr-usrp2/src/usrp2_base.cc
parent31daef30bc197cb86c7310db386d0b5835c03422 (diff)
downloadgnuradio-50b2df2ed93de8dbba3185714a3e07e7470e1229.tar.gz
gnuradio-50b2df2ed93de8dbba3185714a3e07e7470e1229.tar.bz2
gnuradio-50b2df2ed93de8dbba3185714a3e07e7470e1229.zip
Implements USRP2 poke32() command.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10176 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp2/src/usrp2_base.cc')
-rw-r--r--gr-usrp2/src/usrp2_base.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-usrp2/src/usrp2_base.cc b/gr-usrp2/src/usrp2_base.cc
index 1f795421c..9c0d1fa1e 100644
--- a/gr-usrp2/src/usrp2_base.cc
+++ b/gr-usrp2/src/usrp2_base.cc
@@ -74,6 +74,12 @@ usrp2_base::peek32(uint32_t addr, uint32_t words)
}
bool
+usrp2_base::poke32(uint32_t addr, const std::vector<uint32_t> &data)
+{
+ return d_u2->poke32(addr, data);
+}
+
+bool
usrp2_base::start()
{
// Default implementation is NOP