Browse Source

AP_Compass: support MindPX-v2

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
36a141f9f1
  1. 1
      libraries/AP_Compass/AP_Compass.cpp

1
libraries/AP_Compass/AP_Compass.cpp

@ -569,6 +569,7 @@ void Compass::_detect_backends(void) @@ -569,6 +569,7 @@ void Compass::_detect_backends(void)
case AP_BoardConfig::PX4_BOARD_PH2SLIM:
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
case AP_BoardConfig::PX4_BOARD_PIXRACER:
case AP_BoardConfig::PX4_BOARD_MINDPXV2:
case AP_BoardConfig::PX4_BOARD_PIXHAWK_PRO:{
bool both_i2c_external = (AP_BoardConfig::get_board_type() == AP_BoardConfig::PX4_BOARD_PIXHAWK2);
// external i2c bus

Loading…
Cancel
Save