aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-03-21 19:42:44 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:44 -0800
commit1b4af85e10121ba6c89aa2d2ea064dd554076dba (patch)
tree3c1dc2b5b9e61dd249c3658dafc7732f558bb6e8 /mpm/lib
parentd96ff2270cbaed482b4ef52230979d5de792783a (diff)
downloaduhd-1b4af85e10121ba6c89aa2d2ea064dd554076dba.tar.gz
uhd-1b4af85e10121ba6c89aa2d2ea064dd554076dba.tar.bz2
uhd-1b4af85e10121ba6c89aa2d2ea064dd554076dba.zip
mpm: cleanup CMakeLists, fixup minor bugs
Diffstat (limited to 'mpm/lib')
-rw-r--r--mpm/lib/mykonos/CMakeLists.txt1
-rw-r--r--mpm/lib/spi/spi_lock.cpp2
-rw-r--r--mpm/lib/spi/spi_lock.h4
3 files changed, 4 insertions, 3 deletions
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<spi_lock>(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 <boost/noncopyable.hpp>
-#include <memory>
#include <mutex>
+#include <memory>
class spi_lock : public boost::noncopyable
{
@@ -22,4 +22,4 @@ private:
friend class std::lock_guard<spi_lock>;
void lock();
void unlock();
-}; \ No newline at end of file
+};