AP_Compass: support MindPX-v2

This commit is contained in:
Andrew Tridgell 2018-01-12 08:26:29 +11:00
parent 5458377e67
commit 36a141f9f1

View File

@ -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