aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/spi/spi_lock.cpp
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2017-03-29 12:20:51 -0500
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:45 -0800
commit51586a989e118a5b848a95f0c5e8fd274c7cde2b (patch)
tree369014ca873806e8c0af19e7a27af1ae01cf1ac3 /mpm/lib/spi/spi_lock.cpp
parent306468d564a28de96ff9d272503d15b2ecb81ff3 (diff)
downloaduhd-51586a989e118a5b848a95f0c5e8fd274c7cde2b.tar.gz
uhd-51586a989e118a5b848a95f0c5e8fd274c7cde2b.tar.bz2
uhd-51586a989e118a5b848a95f0c5e8fd274c7cde2b.zip
mpm: clean up spi
remove spi_lock remove ad9371 spi_config types
Diffstat (limited to 'mpm/lib/spi/spi_lock.cpp')
-rw-r--r--mpm/lib/spi/spi_lock.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/mpm/lib/spi/spi_lock.cpp b/mpm/lib/spi/spi_lock.cpp
deleted file mode 100644
index b37daa738..000000000
--- a/mpm/lib/spi/spi_lock.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "mpm/spi/spi_lock.hpp"
-
-spi_lock::spi_lock(uint8_t spidev_index) :
- spidev_index(spidev_index)
-{
-
-}
-
-uint8_t spi_lock::get_spidev() const
-{
- return spidev_index;
-}
-
-void spi_lock::lock()
-{
- spi_mutex.lock();
-}
-void spi_lock::unlock()
-{
- spi_mutex.unlock();
-}
-
-spi_lock::sptr spi_lock::make(uint8_t spidev_index)
-{
- return std::make_shared<spi_lock>(spidev_index);
-}