diff options
author | Johannes Demel <johannes.demel@ettus.com> | 2013-11-05 13:56:00 -0800 |
---|---|---|
committer | Johannes Demel <johannes.demel@ettus.com> | 2013-11-19 12:33:22 -0800 |
commit | 25660c5c9e83e352e10d9fe9feb115d40a322353 (patch) | |
tree | 41d9fd9d97a7ebb04664d2cb0a7afd314b479e1f /host/lib/usrp/b200/b200_impl.hpp | |
parent | 45a780cc858dd84e4883139ad2121aeb222d2d8e (diff) | |
download | uhd-25660c5c9e83e352e10d9fe9feb115d40a322353.tar.gz uhd-25660c5c9e83e352e10d9fe9feb115d40a322353.tar.bz2 uhd-25660c5c9e83e352e10d9fe9feb115d40a322353.zip |
b200/dtor-stall: fixed bug that stalled b200 on shutdown.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index eced4a539..59a047e01 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -120,7 +120,7 @@ struct b200_impl : public uhd::device boost::weak_ptr<uhd::tx_streamer> _tx_streamer; //async ctrl + msgs - uhd::task::sptr _async_task; + uhd::msg_task::sptr _async_task; typedef uhd::transport::bounded_buffer<uhd::async_metadata_t> async_md_type; struct AsyncTaskData { @@ -130,7 +130,7 @@ struct b200_impl : public uhd::device b200_uart::sptr gpsdo_uart; }; boost::shared_ptr<AsyncTaskData> _async_task_data; - void handle_async_task(uhd::transport::zero_copy_if::sptr, boost::shared_ptr<AsyncTaskData>); + boost::optional<uhd::msg_task::msg_type_t> handle_async_task(uhd::transport::zero_copy_if::sptr, boost::shared_ptr<AsyncTaskData>); void register_loopback_self_test(uhd::wb_iface::sptr iface); void codec_loopback_self_test(uhd::wb_iface::sptr iface); |