From 8f0654ea8e86a1377e825d6175e7ad9bf926f2cb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Jun 2024 16:45:12 +1000 Subject: [PATCH] AP_InertialSensor: fixed ICM42670 highres sampling is not working on the ICM42670 on some versions of the Pixhawk6X. Disable for now. --- libraries/AP_InertialSensor/AP_InertialSensor_Invensensev3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_Invensensev3.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_Invensensev3.cpp index e815994619..6e303cb2fd 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_Invensensev3.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_Invensensev3.cpp @@ -294,13 +294,13 @@ void AP_InertialSensor_Invensensev3::start() switch (inv3_type) { case Invensensev3_Type::ICM42688: // HiRes 19bit case Invensensev3_Type::IIM42652: // HiRes 19bit - case Invensensev3_Type::ICM42670: // HiRes 19bit case Invensensev3_Type::ICM45686: // HiRes 20bit highres_sampling = dev->bus_type() == AP_HAL::Device::BUS_TYPE_SPI; break; case Invensensev3_Type::ICM40609: // No HiRes case Invensensev3_Type::ICM42605: case Invensensev3_Type::ICM40605: + case Invensensev3_Type::ICM42670: // HiRes 19bit (not working) break; } }