From 8f1c84ce5612a3fc0b5ce10c21220be7ee7fc314 Mon Sep 17 00:00:00 2001 From: Phillip Kocmoud Date: Tue, 27 Mar 2018 19:51:29 -0500 Subject: [PATCH] Enable internal SPI LIS3MDL on R15 Pixracer --- src/drivers/boards/px4fmu-v4/spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/boards/px4fmu-v4/spi.c b/src/drivers/boards/px4fmu-v4/spi.c index ff90c729cc..dc08df83df 100644 --- a/src/drivers/boards/px4fmu-v4/spi.c +++ b/src/drivers/boards/px4fmu-v4/spi.c @@ -130,6 +130,7 @@ __EXPORT void stm32_spi1select(FAR struct spi_dev_s *dev, uint32_t devid, bool s /* Shared PE15 CS devices */ case PX4_SPIDEV_HMC: + case PX4_SPIDEV_LIS: case PX4_SPIDEV_BMI055_GYR: /* Making sure the other peripherals are not selected */ px4_arch_gpiowrite(GPIO_SPI1_CS_PORTC_PIN2, 1);