summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/gr_uhd_usrp_sink.cc
diff options
context:
space:
mode:
authorJohnathan Corgan2012-01-10 10:21:43 -0800
committerJohnathan Corgan2012-01-10 10:21:43 -0800
commit4b1b276fdd0e98f25a3f357dab8453e17b1aa4cf (patch)
tree548df924922982931f5585f331adb04e657d7fcf /gr-uhd/lib/gr_uhd_usrp_sink.cc
parentd35c6bd9eeffc40c9a9a15e9a000df47990ff6d6 (diff)
downloadgnuradio-4b1b276fdd0e98f25a3f357dab8453e17b1aa4cf.tar.gz
gnuradio-4b1b276fdd0e98f25a3f357dab8453e17b1aa4cf.tar.bz2
gnuradio-4b1b276fdd0e98f25a3f357dab8453e17b1aa4cf.zip
uhd: add API call to set user registers
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_sink.cc')
-rw-r--r--gr-uhd/lib/gr_uhd_usrp_sink.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_sink.cc b/gr-uhd/lib/gr_uhd_usrp_sink.cc
index 05237100c..8ff7c1f6e 100644
--- a/gr-uhd/lib/gr_uhd_usrp_sink.cc
+++ b/gr-uhd/lib/gr_uhd_usrp_sink.cc
@@ -278,6 +278,11 @@ public:
return _dev;
}
+ void set_user_register(const uint8_t addr, const uint32_t data, size_t mboard){
+ _dev->set_user_register(addr, data, mboard);
+ }
+
+
/***********************************************************************
* Work
**********************************************************************/