diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-11-28 20:29:02 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2013-11-30 20:20:03 +1100 |
commit | 720f6ab313ab869b89a4767d202ec2e64ddb22e9 (patch) | |
tree | 08ac68b1a42f0527f8d88cc9519f8a57d242f22f /src/drivers/boards/px4fmu-v2/px4fmu2_init.c | |
parent | 3a597d1a1f2fc278482e3be8e1872d7e77d32e9e (diff) | |
download | px4-firmware-720f6ab313ab869b89a4767d202ec2e64ddb22e9.tar.gz px4-firmware-720f6ab313ab869b89a4767d202ec2e64ddb22e9.tar.bz2 px4-firmware-720f6ab313ab869b89a4767d202ec2e64ddb22e9.zip |
FMUv2: set MPU6000 CS as initially de-selected
Diffstat (limited to 'src/drivers/boards/px4fmu-v2/px4fmu2_init.c')
-rw-r--r-- | src/drivers/boards/px4fmu-v2/px4fmu2_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c index ae2a645f7..31ad60bd3 100644 --- a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c +++ b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c @@ -279,6 +279,7 @@ __EXPORT int nsh_archinitialize(void) SPI_SELECT(spi1, PX4_SPIDEV_GYRO, false); SPI_SELECT(spi1, PX4_SPIDEV_ACCEL_MAG, false); SPI_SELECT(spi1, PX4_SPIDEV_BARO, false); + SPI_SELECT(spi1, PX4_SPIDEV_MPU, false); up_udelay(20); message("[boot] Successfully initialized SPI port 1\n"); |