Skip to content

Commit

Permalink
Add ICM-426xx IMU to list of IMUs with overflow protection (#964)
Browse files Browse the repository at this point in the history
ICM426xx have overflow protection
  • Loading branch information
nerdCopter authored Feb 22, 2024
1 parent ebc98f0 commit 8be0288
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/sensors/gyro.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ static bool gyroInitSensor(gyroSensor_t *gyroSensor) {
case GYRO_MPU6000:
case GYRO_MPU6500:
case GYRO_MPU9250:
case GYRO_ICM42688P:
case GYRO_ICM42605:
gyroSensor->gyroDev.gyroHasOverflowProtection = true;
break;
case GYRO_ICM20601:
Expand Down

0 comments on commit 8be0288

Please sign in to comment.