mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Compass: probe for ist8310 on bus 2 as well as 0 for fmuv5
This commit is contained in:
parent
a97e37be9f
commit
2d9df83ed5
@ -736,6 +736,8 @@ void Compass::_detect_backends(void)
|
||||
case AP_BoardConfig::PX4_BOARD_FMUV5:
|
||||
ADD_BACKEND(DRIVER_IST8310, AP_Compass_IST8310::probe(*this, hal.i2c_mgr->get_device(0, HAL_COMPASS_IST8310_I2C_ADDR),
|
||||
false, ROTATION_ROLL_180_YAW_90), AP_Compass_IST8310::name, false);
|
||||
ADD_BACKEND(DRIVER_IST8310, AP_Compass_IST8310::probe(*this, hal.i2c_mgr->get_device(2, HAL_COMPASS_IST8310_I2C_ADDR),
|
||||
false, ROTATION_ROLL_180_YAW_90), AP_Compass_IST8310::name, false);
|
||||
break;
|
||||
|
||||
case AP_BoardConfig::PX4_BOARD_SP01:
|
||||
|
Loading…
Reference in New Issue
Block a user