Browse Source

Updated to use new filter code

master
Martin Budden 8 years ago
parent
commit
57d1fcfd89
  1. 2
      src/main/flight/servos.c

2
src/main/flight/servos.c

@ -450,7 +450,7 @@ void filterServos(void)
// Initialize servo lowpass filter (servos are calculated at looptime rate)
if (!servoFilterIsSet) {
for (servoIdx = 0; servoIdx < MAX_SUPPORTED_SERVOS; servoIdx++) {
biquadFilterInit(&servoFitlerState[servoIdx], servoConfig->servo_lowpass_freq, gyro.targetLooptime);
biquadFilterInitLPF(&servoFitlerState[servoIdx], servoConfig->servo_lowpass_freq, gyro.targetLooptime);
}
servoFilterIsSet = true;

Loading…
Cancel
Save