From 1b4af85e10121ba6c89aa2d2ea064dd554076dba Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Tue, 21 Mar 2017 19:42:44 -0700 Subject: mpm: cleanup CMakeLists, fixup minor bugs --- mpm/lib/mykonos/CMakeLists.txt | 1 + mpm/lib/spi/spi_lock.cpp | 2 +- mpm/lib/spi/spi_lock.h | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'mpm/lib') diff --git a/mpm/lib/mykonos/CMakeLists.txt b/mpm/lib/mykonos/CMakeLists.txt index 182058405..f5e64064e 100644 --- a/mpm/lib/mykonos/CMakeLists.txt +++ b/mpm/lib/mykonos/CMakeLists.txt @@ -29,6 +29,7 @@ SET(mykonos_sources ${CMAKE_CURRENT_SOURCE_DIR}/ad937x_ctrl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ad937x_device.cpp ${CMAKE_CURRENT_SOURCE_DIR}/adi_ctrl.cpp + ${UHD_HOST_ROOT}/lib/types/ranges.cpp ) ADD_SUBDIRECTORY(adi) diff --git a/mpm/lib/spi/spi_lock.cpp b/mpm/lib/spi/spi_lock.cpp index 1796de46a..5077053e7 100644 --- a/mpm/lib/spi/spi_lock.cpp +++ b/mpm/lib/spi/spi_lock.cpp @@ -23,4 +23,4 @@ void spi_lock::unlock() spi_lock::sptr spi_lock::make(uint8_t spidev_index) { return std::make_shared(spidev_index); -} \ No newline at end of file +} diff --git a/mpm/lib/spi/spi_lock.h b/mpm/lib/spi/spi_lock.h index 55ddb0baf..9ad4e20fe 100644 --- a/mpm/lib/spi/spi_lock.h +++ b/mpm/lib/spi/spi_lock.h @@ -1,8 +1,8 @@ #pragma once #include -#include #include +#include class spi_lock : public boost::noncopyable { @@ -22,4 +22,4 @@ private: friend class std::lock_guard; void lock(); void unlock(); -}; \ No newline at end of file +}; -- cgit v1.2.3