AP_InertialSensor: support PCNC1

This commit is contained in:
Andrew Tridgell 2017-06-21 17:03:20 +10:00
parent 2cc0f25ca0
commit b9e5649888
1 changed files with 4 additions and 0 deletions

View File

@ -836,6 +836,10 @@ AP_InertialSensor::detect_backends(void)
case AP_BoardConfig::VRX_BOARD_UBRAIN52:
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU60x0_NAME), ROTATION_YAW_180));
break;
case AP_BoardConfig::PX4_BOARD_PCNC1:
_add_backend(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU60x0_NAME), ROTATION_ROLL_180));
break;
default:
break;