aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad936x_manager.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-01 14:36:07 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-09 10:21:53 -0700
commit041264b4c46543fcd1a3321017249c1183afa452 (patch)
tree0419864d641d04018f0760ffba23672a5a5d519b /host/lib/usrp/common/ad936x_manager.hpp
parentce2e7e5197ea7db5454a381c5b75c1c63b2d2d59 (diff)
downloaduhd-041264b4c46543fcd1a3321017249c1183afa452.tar.gz
uhd-041264b4c46543fcd1a3321017249c1183afa452.tar.bz2
uhd-041264b4c46543fcd1a3321017249c1183afa452.zip
ad936x: Loopback check now takes peeker/poker functors instead of assuming any kind of interface
Diffstat (limited to 'host/lib/usrp/common/ad936x_manager.hpp')
-rw-r--r--host/lib/usrp/common/ad936x_manager.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/usrp/common/ad936x_manager.hpp b/host/lib/usrp/common/ad936x_manager.hpp
index 9b4a351c6..c456715e3 100644
--- a/host/lib/usrp/common/ad936x_manager.hpp
+++ b/host/lib/usrp/common/ad936x_manager.hpp
@@ -80,9 +80,8 @@ public:
* \throws a uhd::runtime_error if the loopback value didn't match.
*/
virtual void loopback_self_test(
- wb_iface::sptr iface,
- wb_iface::wb_addr_type codec_idle_addr,
- wb_iface::wb_addr_type codec_readback_addr
+ boost::function<void(uint32_t)> poker_functor,
+ boost::function<uint64_t()> peeker_functor
) = 0;
/*! Determine a tick rate that will work with a given sampling rate