mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fix Configurator Pid Controller Reset // Fix luxfloat no filter bug // Defaults for Version 2.9.0
This commit is contained in:
parent
f70f2960a8
commit
3d9b180b33
5 changed files with 10 additions and 45 deletions
|
@ -166,6 +166,8 @@ void gyroUpdate(void)
|
|||
gyroADCf[axis] = applyBiQuadFilter((float) gyroADC[axis], &gyroFilterState[axis]);
|
||||
gyroADC[axis] = lrintf(gyroADCf[axis]);
|
||||
}
|
||||
} else {
|
||||
gyroADCf[axis] = gyroADC[axis]; // Otherwise float pid controller will not have gyro input when filter disabled
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue