mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Fix new pid_at_min_throttle feature
This commit is contained in:
parent
82645b5cab
commit
9028ca71d6
1 changed files with 2 additions and 2 deletions
|
@ -571,12 +571,12 @@ void processRx(void)
|
|||
if (masterConfig.mixerConfig.pid_at_min_throttle > 1) {
|
||||
if (pidResetErrorGyroTimeout < millis()) {
|
||||
pidResetErrorGyro();
|
||||
} else {
|
||||
pidResetErrorGyroTimeout = millis() + (masterConfig.mixerConfig.pid_at_min_throttle * 1000);
|
||||
}
|
||||
} else {
|
||||
pidResetErrorGyro();
|
||||
}
|
||||
} else {
|
||||
pidResetErrorGyroTimeout = millis() + (masterConfig.mixerConfig.pid_at_min_throttle * 1000);
|
||||
}
|
||||
|
||||
// When armed and motors aren't spinning, do beeps and then disarm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue