1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

add microsecond delay to interrupt read

This commit is contained in:
borisbstyle 2015-09-03 15:17:06 +02:00
parent 426ccbd307
commit cb8c56d814
5 changed files with 6887 additions and 6880 deletions

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -453,5 +453,7 @@ void checkMPU6050Interrupt(bool *gyroIsUpdated) {
i2cRead(MPU6050_ADDRESS, MPU_RA_INT_STATUS, 1, &mpuIntStatus);
delayMicroseconds(5);
(mpuIntStatus) ? (*gyroIsUpdated= true) : (*gyroIsUpdated= false);
}

View file

@ -352,5 +352,7 @@ void checkMPU6000Interrupt(bool *gyroIsUpdated) {
mpu6000ReadRegister(MPU6000_INT_STATUS, &mpuIntStatus, 1);
delayMicroseconds(5);
(mpuIntStatus) ? (*gyroIsUpdated= true) : (*gyroIsUpdated= false);
}

View file

@ -248,5 +248,7 @@ void checkMPU6500Interrupt(bool *gyroIsUpdated) {
mpu6500ReadRegister(MPU6500_INT_STATUS, &mpuIntStatus, 1);
delayMicroseconds(5);
(mpuIntStatus) ? (*gyroIsUpdated= true) : (*gyroIsUpdated= false);
}