diff --git a/libraries/AC_PID/AC_PID.cpp b/libraries/AC_PID/AC_PID.cpp index 9aab7ddfc8..961bcfed09 100644 --- a/libraries/AC_PID/AC_PID.cpp +++ b/libraries/AC_PID/AC_PID.cpp @@ -236,6 +236,7 @@ void AC_PID::update_i(bool limit) _integrator = 0.0f; } _pid_info.I = _integrator; + _pid_info.limit = limit; } float AC_PID::get_p() const