1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Fix #12908 Add ICM-42688-P IMU to list of IMUs with overflow protection (#13013)

Add ICM-42688-P imu to list of imus with overflow protection
This commit is contained in:
tbolin 2023-12-05 11:44:14 +01:00 committed by GitHub
parent 4c86e31d1e
commit efe1825afa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,6 +329,7 @@ void gyroInitSensor(gyroSensor_t *gyroSensor, const gyroDeviceConfig_t *config)
case GYRO_MPU9250:
case GYRO_LSM6DSO:
case GYRO_LSM6DSV16X:
case GYRO_ICM42688P:
gyroSensor->gyroDev.gyroHasOverflowProtection = true;
break;
@ -336,6 +337,7 @@ void gyroInitSensor(gyroSensor_t *gyroSensor, const gyroDeviceConfig_t *config)
case GYRO_ICM20602:
case GYRO_ICM20608G:
case GYRO_ICM20649: // we don't actually know if this is affected, but as there are currently no flight controllers using it we err on the side of caution
case GYRO_ICM42605: // we don't actually know if this is affected
case GYRO_ICM20689:
gyroSensor->gyroDev.gyroHasOverflowProtection = false;
break;