diff --git a/src/main/target/SITL/target.c b/src/main/target/SITL/target.c index 917d14736..e8248ee2a 100644 --- a/src/main/target/SITL/target.c +++ b/src/main/target/SITL/target.c @@ -411,6 +411,10 @@ pwmOutputPort_t *pwmGetMotors(void) { return motors; } +void pwmDisableMotors(void) { + pwmMotorsEnabled = false; +} + void pwmEnableMotors(void) { pwmMotorsEnabled = true; }