Browse Source

v5x: fix icm20602 sensor orientation

and reorder baro startup, so that the other one is used by default.
sbg
Beat Küng 5 years ago committed by Lorenz Meier
parent
commit
03e51076b0
  1. 5
      boards/px4/fmu-v5x/init/rc.board_sensors

5
boards/px4/fmu-v5x/init/rc.board_sensors

@ -2,7 +2,6 @@ @@ -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 @@ -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 @@ -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

Loading…
Cancel
Save