1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

removed unnecessary static declarations

This commit is contained in:
Nicola De Pasquale 2020-08-16 11:12:55 +02:00
parent d0fe84528a
commit c1ce6f30f8
2 changed files with 2 additions and 2 deletions

View file

@ -626,7 +626,7 @@ float dynThrottle(float throttle) {
void dynLpfGyroUpdate(float throttle)
{
if (gyro.dynLpfFilter != DYN_LPF_NONE) {
static unsigned int cutoffFreq;
unsigned int cutoffFreq;
if (gyro.dynLpfCurveExpo > 0) {
cutoffFreq = dynLpfCutoffFreq(throttle, gyro.dynLpfMin, gyro.dynLpfMax, gyro.dynLpfCurveExpo);
} else {