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
1 changed files with 4 additions and 0 deletions

View File

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