From a34fc5e41fbab00474b111404c3f25082e0c5633 Mon Sep 17 00:00:00 2001 From: Michel Pastor Date: Wed, 15 Dec 2021 19:15:50 +0100 Subject: [PATCH] Plane: apply voltage compensation to throttle in all manual throttle modes but manual mode (#33) --- ArduPlane/servos.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduPlane/servos.cpp b/ArduPlane/servos.cpp index 1ca139dbcb4ea..9bcadc6266ef8 100644 --- a/ArduPlane/servos.cpp +++ b/ArduPlane/servos.cpp @@ -545,9 +545,6 @@ void Plane::set_servos_controlled(void) min_throttle = 0; } - // conpensate for battery voltage drop - throttle_voltage_comp(min_throttle, max_throttle); - // apply watt limiter throttle_watt_limiter(min_throttle, max_throttle); @@ -624,6 +621,9 @@ void Plane::set_servos_controlled(void) plane.ahrs.set_takeoff_expected(true); } } + + // conpensate for battery voltage drop + throttle_voltage_comp(min_throttle, max_throttle); } /*