Merge pull request #1095 from codepox/master
Bug Fix: Stop motors in 3D mode
This commit is contained in:
commit
1ead7649fb
|
@ -534,7 +534,7 @@ void writeAllMotors(int16_t mc)
|
||||||
|
|
||||||
void stopMotors(void)
|
void stopMotors(void)
|
||||||
{
|
{
|
||||||
writeAllMotors(escAndServoConfig->mincommand);
|
writeAllMotors(feature(FEATURE_3D) ? flight3DConfig->neutral3d : escAndServoConfig->mincommand);
|
||||||
|
|
||||||
delay(50); // give the timers and ESCs a chance to react.
|
delay(50); // give the timers and ESCs a chance to react.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue