mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
fix PWM remaining active on soft reset.
This commit is contained in:
parent
6100e94aee
commit
68026f7c3e
5 changed files with 5 additions and 10 deletions
|
@ -666,9 +666,10 @@ void stopMotors(void)
|
|||
delay(50); // give the timers and ESCs a chance to react.
|
||||
}
|
||||
|
||||
void StopPwmAllMotors()
|
||||
void stopPwmAllMotors()
|
||||
{
|
||||
pwmShutdownPulsesForAllMotors(motorCount);
|
||||
delayMicroseconds(1500);
|
||||
}
|
||||
|
||||
#ifndef USE_QUAD_MIXER_ONLY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue