v5x: fix icm20602 sensor orientation

and reorder baro startup, so that the other one is used by default.
This commit is contained in:
Beat Küng
2020-07-06 10:58:18 +02:00
committed by Lorenz Meier
parent 03735f12a2
commit 03e51076b0
+2 -3
View File
@@ -2,7 +2,6 @@
#
# PX4 FMUv5X specific board sensors init
#------------------------------------------------------------------------------
adc start
# Start Digital power monitors
@@ -10,7 +9,7 @@ ina226 -X -b 1 -t 1 -k start
ina226 -X -b 2 -t 2 -k start
# Internal SPI bus ICM-20602
icm20602 -R 2 -s start
icm20602 -R 10 -s start
# Internal SPI bus ISM300DLC
ism330dlc -s start
@@ -23,8 +22,8 @@ bmi088 -G -R 4 -s start
bmm150 -I start
# Possible internal Baro
bmp388 -I start
bmp388 -I -a 0x77 start
bmp388 -I start
# Baro on I2C3
ms5611 -X start