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:
parent
d0fe84528a
commit
c1ce6f30f8
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue