diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index 29803886fc..8b21e123e4 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -74,7 +74,7 @@ public: // return current target airspeed float get_target_airspeed(void) const override { - return _TAS_dem / _ahrs.get_EAS2TAS(); + return _TAS_dem_adj / _ahrs.get_EAS2TAS(); } // return maximum climb rate