mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Remove pid sum limit so crashflip gets 100% throttle
This commit is contained in:
parent
ab44ad8811
commit
1016ec146c
1 changed files with 2 additions and 2 deletions
|
@ -616,9 +616,9 @@ static void applyFlipOverAfterCrashModeToMotors(void)
|
|||
|
||||
for (int i = 0; i < motorCount; i++) {
|
||||
if (getRcDeflectionAbs(FD_ROLL) > getRcDeflectionAbs(FD_PITCH)) {
|
||||
motorMix[i] = getRcDeflection(FD_ROLL) * pidSumLimit * currentMixer[i].roll * (-1);
|
||||
motorMix[i] = getRcDeflection(FD_ROLL) * currentMixer[i].roll * (-1);
|
||||
} else {
|
||||
motorMix[i] = getRcDeflection(FD_PITCH) * pidSumLimit * currentMixer[i].pitch * (-1);
|
||||
motorMix[i] = getRcDeflection(FD_PITCH) * currentMixer[i].pitch * (-1);
|
||||
}
|
||||
}
|
||||
// Apply the mix to motor endpoints
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue