Count devices on SPI4 / EXT from 1 as for the other buses

This commit is contained in:
Lorenz Meier 2014-05-28 10:45:38 +02:00
parent 2bfde311db
commit 65344133a4
1 changed files with 4 additions and 2 deletions

View File

@ -117,8 +117,10 @@ __BEGIN_DECLS
#define PX4_SPIDEV_ACCEL_MAG 2
#define PX4_SPIDEV_BARO 3
#define PX4_SPIDEV_MPU 4
#define PX4_SPIDEV_EXT0 5
#define PX4_SPIDEV_EXT1 6
/* External bus */
#define PX4_SPIDEV_EXT0 1
#define PX4_SPIDEV_EXT1 2
/* I2C busses */
#define PX4_I2C_BUS_EXPANSION 1