Fixed mocking of pwm output on SITL.
This commit is contained in:
parent
c1eda87f97
commit
ddf7a29fb7
|
@ -411,6 +411,10 @@ pwmOutputPort_t *pwmGetMotors(void) {
|
|||
return motors;
|
||||
}
|
||||
|
||||
void pwmDisableMotors(void) {
|
||||
pwmMotorsEnabled = false;
|
||||
}
|
||||
|
||||
void pwmEnableMotors(void) {
|
||||
pwmMotorsEnabled = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue