AP_InertialSensor: Change BBBMINI standard orientation

This commit is contained in:
mirkix 2015-07-05 22:15:33 +02:00 committed by Andrew Tridgell
parent e6363ea95d
commit f82344358f

View File

@ -187,7 +187,7 @@ AP_InertialSensor_MPU9250::AP_InertialSensor_MPU9250(AP_InertialSensor &imu) :
/* no rotation needed */
_default_rotation(ROTATION_NONE)
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
_default_rotation(ROTATION_YAW_270)
_default_rotation(ROTATION_NONE)
#else /* rotate for bbone default (and other boards) */
_default_rotation(ROTATION_ROLL_180_YAW_90)
#endif