Enable internal SPI LIS3MDL on R15 Pixracer

This commit is contained in:
Phillip Kocmoud 2018-03-27 19:51:29 -05:00 committed by Daniel Agar
parent c3b64f6d2a
commit 8f1c84ce56
1 changed files with 1 additions and 0 deletions

View File

@ -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);