diff --git a/boards/px4/fmu-v6x/init/rc.board_sensors b/boards/px4/fmu-v6x/init/rc.board_sensors index 8cd5ae7873..52aa8f9c78 100644 --- a/boards/px4/fmu-v6x/init/rc.board_sensors +++ b/boards/px4/fmu-v6x/init/rc.board_sensors @@ -47,6 +47,7 @@ then fi fi + if ver hwtypecmp V6X000004 V6X001004 V6X004004 V6X005004 then # Internal SPI bus ICM20649 @@ -101,7 +102,13 @@ if ver hwtypecmp V6X002001 then rm3100 -I -b 4 start else - bmm150 -I -R 6 start + if ver hwtypecmp V6X009010 V6X010010 + then + # Internal magnetometer on I2C + bmm150 -I -R 0 start + else + bmm150 -I -R 6 start + fi fi # External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)