Skip to content

Commit b5bad02

Browse files
IamPete1tridge
authored andcommitted
AP_Motors: Tailsitter: ensure output_motor_mask does nothing
1 parent 5fd78d0 commit b5bad02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/AP_Motors/AP_MotorsTailsitter.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ class AP_MotorsTailsitter : public AP_MotorsMulticopter {
2929
// this can be used to ensure other pwm outputs (i.e. for servos) do not conflict
3030
uint32_t get_motor_mask() override;
3131

32+
// output_motor_mask is not supported by the tailsitter backend, override to ensure no action.
33+
void output_motor_mask(float thrust, uint32_t mask, float rudder_dt) override {};
34+
3235
// Set by tailsitters using diskloading minumum outflow velocity limit
3336
void set_min_throttle(float val) {_external_min_throttle = val;}
3437

0 commit comments

Comments
 (0)