Skip to content

Commit

Permalink
Add ICM-42605 to list of gyros with overflow protection (betaflight#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolin authored and Eike Ahmels committed Jan 22, 2024
1 parent 425eedc commit 18f2f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/sensors/gyro_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,14 @@ void gyroInitSensor(gyroSensor_t *gyroSensor, const gyroDeviceConfig_t *config)
case GYRO_LSM6DSO:
case GYRO_LSM6DSV16X:
case GYRO_ICM42688P:
case GYRO_ICM42605:
gyroSensor->gyroDev.gyroHasOverflowProtection = true;
break;

case GYRO_ICM20601:
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;
Expand Down

0 comments on commit 18f2f2d

Please sign in to comment.