AP_InertialSensor: fixed MindPX-v2 orientation of IMU2

This commit is contained in:
Andrew Tridgell 2018-01-12 12:01:22 +11:00
parent 58796ff435
commit 8ab35e8aca

View File

@ -780,9 +780,9 @@ AP_InertialSensor::detect_backends(void)
_add_backend(AP_InertialSensor_LSM9DS0::probe(*this,
hal.spi->get_device(HAL_INS_LSM9DS0_G_NAME),
hal.spi->get_device(HAL_INS_LSM9DS0_A_NAME),
ROTATION_NONE,
ROTATION_NONE,
ROTATION_NONE));
ROTATION_YAW_90,
ROTATION_YAW_90,
ROTATION_YAW_90));
break;
default: