From c4e3c4142e81022a2ec40168b41c2f57ff1c2f52 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Fri, 28 Dec 2018 17:04:34 +1030 Subject: [PATCH] AP_AutoTune: replace set_throttle_out_unstabilized --- libraries/AC_AutoTune/AC_AutoTune.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_AutoTune/AC_AutoTune.cpp b/libraries/AC_AutoTune/AC_AutoTune.cpp index 3658feed2c..f2e0763c7b 100644 --- a/libraries/AC_AutoTune/AC_AutoTune.cpp +++ b/libraries/AC_AutoTune/AC_AutoTune.cpp @@ -349,7 +349,7 @@ void AC_AutoTune::run() // this should not actually be possible because of the init() checks if (!motors->armed() || !motors->get_interlock()) { motors->set_desired_spool_state(AP_Motors::DESIRED_GROUND_IDLE); - attitude_control->set_throttle_out_unstabilized(0.0f, true, 0); + attitude_control->set_throttle_out(0.0f, true, 0.0f); pos_control->relax_alt_hold_controllers(0.0f); return; }