diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-03-23 15:40:28 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:44 -0800 |
commit | 6d332e5ca4a7311406ac285f827c31c9e5b94280 (patch) | |
tree | 77098d97db8e8884124d66617721724821a80ced /mpm/lib/lmk04828 | |
parent | ef6326a174e6880be5e2eaeac26a2c5de0768807 (diff) | |
download | uhd-6d332e5ca4a7311406ac285f827c31c9e5b94280.tar.gz uhd-6d332e5ca4a7311406ac285f827c31c9e5b94280.tar.bz2 uhd-6d332e5ca4a7311406ac285f827c31c9e5b94280.zip |
mpm: move public includes into include/
Diffstat (limited to 'mpm/lib/lmk04828')
-rw-r--r-- | mpm/lib/lmk04828/lmk04828_spi_iface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp index 2e3b43a3c..d0ae26063 100644 --- a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp +++ b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp @@ -1,7 +1,7 @@ -#include "lmk/lmk04828_spi_iface.hpp" -#include "uhd/exception.hpp" -#include <boost/bind.hpp> +#include <mpm/lmk04828/lmk04828_spi_iface.hpp> +#include <uhd/exception.hpp> #include <boost/make_shared.hpp> +#include <functional> lmk04828_spi_iface::lmk04828_spi_iface(uhd::spi_iface::sptr iface) : _spi_iface(iface) { @@ -11,12 +11,12 @@ lmk04828_spi_iface::lmk04828_spi_iface(uhd::spi_iface::sptr iface) : _spi_iface( lmk04828_iface::write_fn_t lmk04828_spi_iface::get_write_fn() { - return boost::bind(&lmk04828_spi_iface::spi_write, this, _1); + return std::bind(&lmk04828_spi_iface::spi_write, this, std::placeholders::_1); } lmk04828_iface::read_fn_t lmk04828_spi_iface::get_read_fn() { - return boost::bind(&lmk04828_spi_iface::spi_read, this, _1); + return std::bind(&lmk04828_spi_iface::spi_read, this, std::placeholders::_1); } void lmk04828_spi_iface::spi_write(std::vector<uint32_t> writes) { |