From e7dd1cb51b7f9ca288c722dd25323abaf6ab0071 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 10 Aug 2022 09:41:06 +0530 Subject: [PATCH] hwdef: fix rotation of IMU on CubeOrangePlus --- libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/hwdef.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/hwdef.dat index e2aaa2517e..e9693dbd35 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/hwdef.dat @@ -26,7 +26,7 @@ undef IMU SPIDEV icm42688_ext SPI4 DEVID4 ACCEL_EXT_CS MODE3 2*MHZ 8*MHZ -IMU Invensensev3 SPI:icm42688_ext ROTATION_ROLL_180_YAW_270 +IMU Invensensev3 SPI:icm42688_ext ROTATION_YAW_90 IMU Invensensev2 SPI:icm20948_ext ROTATION_PITCH_180 IMU Invensensev2 SPI:icm20948 ROTATION_YAW_270