From e9d39d80f436f8fe10d9ea44eae377fc63344e9b 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 b1d4c52055..9a27617197 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; } }