Skip to content

Commit 521d9fc

Browse files
authored
Add support for Agam GNSS v1.0 module with BMM350
Added support for Agam GNSS v1.0 as an external compass option and modified the initialization logic.
1 parent 7584f75 commit 521d9fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

boards/px4/fmu-v6xrt/init/rc.board_sensors

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,11 @@ then
117117
bmm350 -I start
118118
fi
119119

120-
# 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)
121-
ist8310 -X -b 1 -R 10 start
120+
# 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) or Agam GNSS v1.0
121+
if ! ist8310 -X -b 1 -R 10 start
122+
then
123+
bmm350 -X -b 1 start
124+
fi
122125

123126
# Possible internal Baro
124127

0 commit comments

Comments
 (0)