Fix AG Hpf test.
This commit is contained in:
parent
158d0224b3
commit
b7e71cbc44
|
@ -418,7 +418,7 @@ static FAST_RAM_ZERO_INIT float acroTrainerGain;
|
|||
|
||||
void pidUpdateAntiGravityThrottleFilter(float throttle)
|
||||
{
|
||||
if (antiGravityMode) {
|
||||
if (antiGravityMode == ANTI_GRAVITY_SMOOTH) {
|
||||
antiGravityThrottleHpf = throttle - pt1FilterApply(&antiGravityThrottleLpf, throttle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue