mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Fixed mocking of pwm output on SITL.
This commit is contained in:
parent
c1eda87f97
commit
ddf7a29fb7
1 changed files with 4 additions and 0 deletions
|
@ -411,6 +411,10 @@ pwmOutputPort_t *pwmGetMotors(void) {
|
|||
return motors;
|
||||
}
|
||||
|
||||
void pwmDisableMotors(void) {
|
||||
pwmMotorsEnabled = false;
|
||||
}
|
||||
|
||||
void pwmEnableMotors(void) {
|
||||
pwmMotorsEnabled = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue