From b8114da1023c7b186d43c2b71bc11815a4ff1a51 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Wed, 22 Nov 2023 16:20:18 +0000 Subject: [PATCH] AP_Motors: Heli: dual and quad: remove un-needed override methods --- libraries/AP_Motors/AP_MotorsHeli_Dual.h | 6 ------ libraries/AP_Motors/AP_MotorsHeli_Quad.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli_Dual.h b/libraries/AP_Motors/AP_MotorsHeli_Dual.h index 1c56e07367..22b2d2502f 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Dual.h +++ b/libraries/AP_Motors/AP_MotorsHeli_Dual.h @@ -50,12 +50,6 @@ public: // 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; diff --git a/libraries/AP_Motors/AP_MotorsHeli_Quad.h b/libraries/AP_Motors/AP_MotorsHeli_Quad.h index 3a3292fa25..3644255b1c 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Quad.h +++ b/libraries/AP_Motors/AP_MotorsHeli_Quad.h @@ -37,12 +37,6 @@ public: // 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;