Merge pull request #4402 from Vidalcris/patch-5

Crash recovery little change for Beeper
This commit is contained in:
Michael Keller 2017-10-20 12:45:49 +13:00 committed by GitHub
commit b7fe3e203e
1 changed files with 3 additions and 1 deletions

View File

@ -529,8 +529,10 @@ void pidController(const pidProfile_t *pidProfile, const rollAndPitchTrims_t *an
inCrashRecoveryMode = false;
}
} else {
if (inCrashRecoveryMode) {
BEEP_OFF;
}
inCrashRecoveryMode = false;
BEEP_OFF;
}
}
axisPID_D[axis] = Kd[axis] * delta * tpaFactor;