1
0
Fork 0
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:
mikeller 2019-06-27 02:53:23 +12:00
parent c1eda87f97
commit ddf7a29fb7

View file

@ -411,6 +411,10 @@ pwmOutputPort_t *pwmGetMotors(void) {
return motors;
}
void pwmDisableMotors(void) {
pwmMotorsEnabled = false;
}
void pwmEnableMotors(void) {
pwmMotorsEnabled = true;
}