mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 21:12:20 +08:00
Count devices on SPI4 / EXT from 1 as for the other buses
This commit is contained in:
1 parent
2bfde311db
commit
65344133a4
1 file changed
+4
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user