Skip to content

Commit

Permalink
AP_InertialSensor: fixed ICM42670
Browse files Browse the repository at this point in the history
highres sampling is not working on the ICM42670 on some versions of
the Pixhawk6X. Disable for now.
  • Loading branch information
tridge committed Jun 7, 2024
1 parent cb22a63 commit d31a4bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d31a4bf

Please sign in to comment.