Browse Source

AP_InertialSensor: support PCNC1

master
Andrew Tridgell 8 years ago
parent
commit
b9e5649888
  1. 4
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

4
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -836,6 +836,10 @@ AP_InertialSensor::detect_backends(void) @@ -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;

Loading…
Cancel
Save