mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
cubeorangeplus: add I2C4, start AK09918
CubeOrange+ which have the ICM45686, also have the AK09918 connected on the internal I2C4. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
@@ -21,9 +21,13 @@ then
|
||||
fi
|
||||
|
||||
# SPI1, body-fixed
|
||||
if ! icm45686 -s -b 1 -R 3 -q start
|
||||
if icm45686 -s -b 1 -R 3 -q start
|
||||
then
|
||||
# if we detected the ICM45686 we also ought to have an AK09918
|
||||
ak09916 start -I -R 13
|
||||
else
|
||||
icm20649 -s -b 1 start
|
||||
|
||||
fi
|
||||
|
||||
ms5611 -s -b 1 start
|
||||
|
||||
Reference in New Issue
Block a user