From 57d1fcfd89802765b5cc6efe6700508d3de883df Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Sat, 1 Oct 2016 19:03:09 +0100 Subject: [PATCH] Updated to use new filter code --- src/main/flight/servos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/flight/servos.c b/src/main/flight/servos.c index b515a80b9..d67fbaffe 100755 --- a/src/main/flight/servos.c +++ b/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;