1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Merge pull request #5205 from etracer65/runaway_takeoff_reset_after_crashflip

Reactivate Runaway Takeoff Prevention after using crash-flip
This commit is contained in:
Michael Keller 2018-02-18 03:17:44 +13:00 committed by GitHub
commit 7cd97b8fc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,6 +308,9 @@ void tryArm(void)
}
} else {
flipOverAfterCrashMode = true;
#ifdef USE_RUNAWAY_TAKEOFF
runawayTakeoffCheckDisabled = false;
#endif
if (!feature(FEATURE_3D)) {
pwmWriteDshotCommand(ALL_MOTORS, getMotorCount(), DSHOT_CMD_SPIN_DIRECTION_REVERSED);
}