mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Reset ITerm on motor reversal
This commit is contained in:
parent
ce345a8446
commit
9060ecb302
5 changed files with 20 additions and 4 deletions
|
@ -136,7 +136,7 @@ static void pidSetTargetLooptime(uint32_t pidLooptime)
|
|||
dT = (float)targetPidLooptime * 0.000001f;
|
||||
}
|
||||
|
||||
void pidResetErrorGyroState(void)
|
||||
void pidResetITerm(void)
|
||||
{
|
||||
for (int axis = 0; axis < 3; axis++) {
|
||||
axisPID_I[axis] = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue