diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-30 11:32:26 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-30 11:32:26 -0700 |
commit | 6f4fb27955333ed9db372ec42aea52f3b605a968 (patch) | |
tree | 31d62d3b48ca29763cc0dbc816e56811233f11cb /host/lib/usrp/b100/b100_ctrl.hpp | |
parent | f4dc4bf74e65d185ef76e48d3cb172bf0a66f24a (diff) | |
download | uhd-6f4fb27955333ed9db372ec42aea52f3b605a968.tar.gz uhd-6f4fb27955333ed9db372ec42aea52f3b605a968.tar.bz2 uhd-6f4fb27955333ed9db372ec42aea52f3b605a968.zip |
b100: made async callback safer, other tweaks (still issues)
Diffstat (limited to 'host/lib/usrp/b100/b100_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/b100/b100_ctrl.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/b100/b100_ctrl.hpp b/host/lib/usrp/b100/b100_ctrl.hpp index eda194ece..6c3217b11 100644 --- a/host/lib/usrp/b100/b100_ctrl.hpp +++ b/host/lib/usrp/b100/b100_ctrl.hpp @@ -37,10 +37,12 @@ public: /*! * Make a USRP control object from a data transport * \param ctrl_transport a USB data transport - * \param async_cb the callback for async messages * \return a new b100 control object */ - static sptr make(uhd::transport::zero_copy_if::sptr ctrl_transport, const async_cb_type &async_cb); + static sptr make(uhd::transport::zero_copy_if::sptr ctrl_transport); + + //! set an async callback for messages + virtual void set_async_cb(const async_cb_type &async_cb) = 0; /*! * Write a byte vector to an FPGA register |