From 5ce4ff916e1eca6006856f7dd68d4e9234da57be Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Aug 2019 18:16:38 +1000 Subject: [PATCH] HAL_ChibiOS: fixed Pixhawk1 gyro orientation this was broken by the recent switch to hwdef.dat for orientations --- libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat index 4cf81f7090..1f8f36a244 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat @@ -17,7 +17,7 @@ include ../fmuv3/hwdef.dat # and two SPIDEV endpoints, one for gyro, one for accel/mag IMU Invensense SPI:mpu6000 ROTATION_ROLL_180 -IMU LSM9DS0 SPI:lsm9ds0_g SPI:lsm9ds0_am ROTATION_ROLL_180 +IMU LSM9DS0 SPI:lsm9ds0_g SPI:lsm9ds0_am ROTATION_ROLL_180 ROTATION_ROLL_180_YAW_270 ROTATION_PITCH_180 # define the barometers to probe with BARO lines. These follow the # same format as IMU lines