From 701904882cb63202f277af18c7ef11ac6cc3a581 Mon Sep 17 00:00:00 2001 From: Mark Meserve Date: Mon, 10 Apr 2017 15:36:35 -0700 Subject: mpm: Improved ad937x code - Add gain control pin configuration - Fixed gcc compilation - Better docstrings --- mpm/dboards/magnesium_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/dboards/magnesium_manager.cpp') diff --git a/mpm/dboards/magnesium_manager.cpp b/mpm/dboards/magnesium_manager.cpp index d5e07d1e0..8639a7ff1 100644 --- a/mpm/dboards/magnesium_manager.cpp +++ b/mpm/dboards/magnesium_manager.cpp @@ -28,5 +28,5 @@ magnesium_periph_manager::magnesium_periph_manager( _clock_spi = lmk04828_spi_iface::make(mpm::spi::spidev_iface::make(lmk_spidev)); _clock_ctrl = lmk04828_iface::make(_clock_spi->get_write_fn(), _clock_spi->get_read_fn()); _mykonos_spi = mpm::spi::spidev_iface::make(mykonos_spidev); - _mykonos_ctrl = ad937x_ctrl::make(_spi_mutex, _mykonos_spi); + _mykonos_ctrl = ad937x_ctrl::make(_spi_mutex, _mykonos_spi, mpm::ad937x::gpio::gain_pins_t()); }; -- cgit v1.2.3