mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Add ICM-42605 to list of gyros with overflow protection (#13194)
This commit is contained in:
parent
71199b1602
commit
0b0c63a73d
1 changed files with 1 additions and 1 deletions
|
@ -330,6 +330,7 @@ void gyroInitSensor(gyroSensor_t *gyroSensor, const gyroDeviceConfig_t *config)
|
||||||
case GYRO_LSM6DSO:
|
case GYRO_LSM6DSO:
|
||||||
case GYRO_LSM6DSV16X:
|
case GYRO_LSM6DSV16X:
|
||||||
case GYRO_ICM42688P:
|
case GYRO_ICM42688P:
|
||||||
|
case GYRO_ICM42605:
|
||||||
gyroSensor->gyroDev.gyroHasOverflowProtection = true;
|
gyroSensor->gyroDev.gyroHasOverflowProtection = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -337,7 +338,6 @@ void gyroInitSensor(gyroSensor_t *gyroSensor, const gyroDeviceConfig_t *config)
|
||||||
case GYRO_ICM20602:
|
case GYRO_ICM20602:
|
||||||
case GYRO_ICM20608G:
|
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_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:
|
case GYRO_ICM20689:
|
||||||
gyroSensor->gyroDev.gyroHasOverflowProtection = false;
|
gyroSensor->gyroDev.gyroHasOverflowProtection = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue