1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Gyro Sync separated by target

This commit is contained in:
borisbstyle 2015-09-18 13:50:30 +02:00
parent aadbc94c9a
commit 074e389789
9 changed files with 65 additions and 37 deletions

View file

@ -746,7 +746,7 @@ bool runLoop(uint32_t loopTime) {
if (gyroSyncCheckUpdate() || (int32_t)(currentTime - (loopTime + GYRO_WATCHDOG_DELAY)) >= 0) {
loopTrigger = true;
}
} else if ((int32_t)(currentTime - loopTime) >= 0){
} else if (masterConfig.looptime == 0 || (int32_t)(currentTime - loopTime) >= 0){
loopTrigger = true;
}