AP_InertialSensor: fix rotation for ICM20649

This commit is contained in:
Siddharth Purohit 2019-03-11 18:24:10 +05:30 committed by Andrew Tridgell
parent bc97ee5498
commit 3a833d9a90

View File

@ -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: