mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Update MPU6050 so it works with later versions.
This commit is contained in:
parent
cf7c9d4100
commit
b1ba72c162
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ static void mpu6050FindRevision(void)
|
|||
mpuDetectionResult.resolution = MPU_HALF_RESOLUTION;
|
||||
} else if (revision == 2) {
|
||||
mpuDetectionResult.resolution = MPU_FULL_RESOLUTION;
|
||||
} else if ((revision == 3) || (revision == 7)) {
|
||||
mpuDetectionResult.resolution = MPU_FULL_RESOLUTION;
|
||||
} else {
|
||||
failureMode(FAILURE_ACC_INCOMPATIBLE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue