mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
px4fmu-v5: make sure the internal ist8310 is detected as internal mag
This commit is contained in:
@@ -285,7 +285,7 @@ then
|
|||||||
ist8310 -C -b 2 start
|
ist8310 -C -b 2 start
|
||||||
|
|
||||||
# Possible internal compass
|
# Possible internal compass
|
||||||
ist8310 -C -b 3 start
|
ist8310 -C -b 5 start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ver hwcmp AEROCORE2
|
if ver hwcmp AEROCORE2
|
||||||
|
|||||||
@@ -215,6 +215,7 @@
|
|||||||
#define PX4_I2C_BUS_EXPANSION2 3
|
#define PX4_I2C_BUS_EXPANSION2 3
|
||||||
#define PX4_I2C_BUS_EXPANSION3 4
|
#define PX4_I2C_BUS_EXPANSION3 4
|
||||||
#define PX4_I2C_BUS_LED PX4_I2C_BUS_EXPANSION
|
#define PX4_I2C_BUS_LED PX4_I2C_BUS_EXPANSION
|
||||||
|
#define PX4_I2C_BUS_ONBOARD PX4_I2C_BUS_EXPANSION2
|
||||||
|
|
||||||
#define BOARD_NUMBER_I2C_BUSES 4
|
#define BOARD_NUMBER_I2C_BUSES 4
|
||||||
#define BOARD_I2C_BUS_CLOCK_INIT {100000, 100000, 100000, 100000}
|
#define BOARD_I2C_BUS_CLOCK_INIT {100000, 100000, 100000, 100000}
|
||||||
|
|||||||
Reference in New Issue
Block a user