From 3a833d9a90191f606210bb62b9720152fed8eaa9 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Mon, 11 Mar 2019 18:24:10 +0530 Subject: [PATCH] AP_InertialSensor: fix rotation for ICM20649 --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 17ed0eabf2..db3254d4e0 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -744,7 +744,7 @@ AP_InertialSensor::detect_backends(void) // new cubes have ICM20602, ICM20648, ICM20649 ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20602_ext"), ROTATION_ROLL_180_YAW_270)); ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948_ext"), ROTATION_ROLL_180_YAW_270)); - ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948"), ROTATION_ROLL_180_YAW_270)); + ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948"), ROTATION_NONE)); break; case AP_BoardConfig::PX4_BOARD_FMUV5: