mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Merge pull request #4402 from Vidalcris/patch-5
Crash recovery little change for Beeper
This commit is contained in:
commit
b7fe3e203e
1 changed files with 3 additions and 1 deletions
|
@ -529,8 +529,10 @@ void pidController(const pidProfile_t *pidProfile, const rollAndPitchTrims_t *an
|
||||||
inCrashRecoveryMode = false;
|
inCrashRecoveryMode = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (inCrashRecoveryMode) {
|
||||||
|
BEEP_OFF;
|
||||||
|
}
|
||||||
inCrashRecoveryMode = false;
|
inCrashRecoveryMode = false;
|
||||||
BEEP_OFF;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
axisPID_D[axis] = Kd[axis] * delta * tpaFactor;
|
axisPID_D[axis] = Kd[axis] * delta * tpaFactor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue