aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/include
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/include')
-rw-r--r--mpm/include/mpm/ad937x/ad937x_ctrl.hpp2
-rw-r--r--mpm/include/mpm/ad937x/adi_ctrl.hpp1
-rw-r--r--mpm/include/mpm/dboards/magnesium_manager.hpp2
3 files changed, 2 insertions, 3 deletions
diff --git a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp
index 10cbb0717..43ed37a94 100644
--- a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp
+++ b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp
@@ -33,7 +33,7 @@ class ad937x_ctrl : public boost::noncopyable
{
public:
typedef std::shared_ptr<ad937x_ctrl> sptr;
- static sptr make(spi_lock::sptr spi_l, uhd::spi_iface::sptr iface);
+ static sptr make(std::shared_ptr<std::mutex> spi_mutex, uhd::spi_iface::sptr iface);
virtual ~ad937x_ctrl(void) {}
static uhd::meta_range_t get_rf_freq_range(void);
diff --git a/mpm/include/mpm/ad937x/adi_ctrl.hpp b/mpm/include/mpm/ad937x/adi_ctrl.hpp
index d2514a321..616f59ea4 100644
--- a/mpm/include/mpm/ad937x/adi_ctrl.hpp
+++ b/mpm/include/mpm/ad937x/adi_ctrl.hpp
@@ -17,7 +17,6 @@
#pragma once
-// TODO: fix path of UHD include
#include <uhd/types/serial.hpp>
#include <chrono>
diff --git a/mpm/include/mpm/dboards/magnesium_manager.hpp b/mpm/include/mpm/dboards/magnesium_manager.hpp
index 356727618..be8f9f8e8 100644
--- a/mpm/include/mpm/dboards/magnesium_manager.hpp
+++ b/mpm/include/mpm/dboards/magnesium_manager.hpp
@@ -39,7 +39,7 @@ namespace mpm { namespace dboards {
private:
//cpld control
- spi_lock::sptr _spi_lock;
+ std::shared_ptr<std::mutex> _spi_mutex;
lmk04828_spi_iface::sptr _clock_spi;
lmk04828_iface::sptr _clock_ctrl;
mpm::spi::spidev_iface::sptr _mykonos_spi;