mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-19 10:57:46 +08:00
Enable internal SPI LIS3MDL on R15 Pixracer
This commit is contained in:
committed by
Daniel Agar
parent
c3b64f6d2a
commit
8f1c84ce56
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user