From 36365930a6035e18dc3ec07d401d73e7730af8cf Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 19 Apr 2017 18:55:16 -0700 Subject: mpm: Fixed a plethora of SPI-related issues --- mpm/lib/mykonos/ad937x_device.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/lib/mykonos/ad937x_device.hpp') diff --git a/mpm/lib/mykonos/ad937x_device.hpp b/mpm/lib/mykonos/ad937x_device.hpp index 1b21a5a04..729912adf 100644 --- a/mpm/lib/mykonos/ad937x_device.hpp +++ b/mpm/lib/mykonos/ad937x_device.hpp @@ -39,7 +39,7 @@ public: enum class gain_mode_t { MANUAL, AUTOMATIC, HYBRID }; enum class pll_t {CLK_SYNTH, RX_SYNTH, TX_SYNTH, SNIFF_SYNTH, CALPLL_SDM}; - ad937x_device(uhd::spi_iface::sptr iface, mpm::ad937x::gpio::gain_pins_t gain_pins); + ad937x_device(uhd::spi_iface* iface, mpm::ad937x::gpio::gain_pins_t gain_pins); void begin_initialization(); void finish_initialization(); @@ -96,7 +96,7 @@ private: void _call_api_function(std::function func); void _call_gpio_api_function(std::function func); - void _call_debug_api_function(std::function func); + //void _call_debug_api_function(std::function func); static uint8_t _convert_rx_gain(double gain); static uint16_t _convert_tx_gain(double gain); -- cgit v1.2.3