From fb1b7b78687da3653c0461394cee7135e701bfd5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 25 Apr 2018 15:09:27 -0700 Subject: ad936x: De-boostify ad936x_manager, minor cleanup - Remove all use of boost::bind and boost::function - Demote some log messages to DEBUG - Change some formatting to match coding guidelines - B2xx/E310: Match changes in loopback function --- host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp | 2 +- host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'host/lib/include') diff --git a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp index b9e81074b..1acbe6463 100644 --- a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp @@ -42,7 +42,7 @@ class ad9361_ctrl : public boost::noncopyable public: typedef boost::shared_ptr sptr; - virtual ~ad9361_ctrl(void) {}; + virtual ~ad9361_ctrl(void) {} //! make a new codec control object static sptr make_spi( diff --git a/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp b/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp index 7934b1050..7abbe69ed 100644 --- a/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad936x_manager.hpp @@ -16,6 +16,7 @@ #include #include #include +#include namespace uhd { namespace usrp { @@ -71,8 +72,8 @@ public: * \throws a uhd::runtime_error if the loopback value didn't match. */ virtual void loopback_self_test( - boost::function poker_functor, - boost::function peeker_functor + std::function poker_functor, + std::function peeker_functor ) = 0; /*! Determine a tick rate that will work with a given sampling rate -- cgit v1.2.3