mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
commit
959e6e708b
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ static FAST_RAM_ZERO_INIT float acroTrainerGain;
|
||||||
|
|
||||||
void pidUpdateAntiGravityThrottleFilter(float throttle)
|
void pidUpdateAntiGravityThrottleFilter(float throttle)
|
||||||
{
|
{
|
||||||
if (antiGravityMode) {
|
if (antiGravityMode == ANTI_GRAVITY_SMOOTH) {
|
||||||
antiGravityThrottleHpf = throttle - pt1FilterApply(&antiGravityThrottleLpf, throttle);
|
antiGravityThrottleHpf = throttle - pt1FilterApply(&antiGravityThrottleLpf, throttle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue