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:
parent
aadbc94c9a
commit
074e389789
9 changed files with 65 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue