Skip to content

Commit

Permalink
AP_Motors: Heli: dual and quad: remove un-needed override methods
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 committed Nov 22, 2023
1 parent b5e2f9a commit ffe364f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions libraries/AP_Motors/AP_MotorsHeli_Dual.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ class AP_MotorsHeli_Dual : public AP_MotorsHeli {
// calculate_armed_scalars - recalculates scalars that can change while armed
void calculate_armed_scalars() override;

// has_flybar - returns true if we have a mechical flybar
bool has_flybar() const override { return AP_MOTORS_HELI_NOFLYBAR; }

// supports_yaw_passthrought - returns true if we support yaw passthrough
bool supports_yaw_passthrough() const override { return false; }

// servo_test - move servos through full range of movement
void servo_test() override;

Expand Down
6 changes: 0 additions & 6 deletions libraries/AP_Motors/AP_MotorsHeli_Quad.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ class AP_MotorsHeli_Quad : public AP_MotorsHeli {
// calculate_armed_scalars - recalculates scalars that can change while armed
void calculate_armed_scalars() override;

// has_flybar - returns true if we have a mechanical flybar
bool has_flybar() const override { return AP_MOTORS_HELI_NOFLYBAR; }

// supports_yaw_passthrought - returns true if we support yaw passthrough
bool supports_yaw_passthrough() const override { return false; }

// servo_test - move servos through full range of movement
void servo_test() override;

Expand Down

0 comments on commit ffe364f

Please sign in to comment.