From 0e19b8c9a0e000045d5c6207a2a025c2442cab7f Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Mon, 17 Oct 2016 19:13:34 +0100 Subject: [PATCH] AP_HAL_Linux: Set initial rotation on Dark to None --- libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp index 3e343966d2..e8332b0cc6 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp @@ -215,6 +215,8 @@ AP_InertialSensor_MPU9250::AP_InertialSensor_MPU9250(AP_InertialSensor &imu, , _default_rotation(ROTATION_NONE) #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BH , _default_rotation(ROTATION_NONE) +#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DARK + , _default_rotation(ROTATION_NONE) #else /* rotate for PXF (and default for other boards) */ , _default_rotation(ROTATION_ROLL_180_YAW_90)