From 0624f6b8c35a530502672393aee5710dce020f84 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 8 Apr 2019 16:21:23 +0900 Subject: [PATCH] AC_PosControl: minor comment fix --- libraries/AC_AttitudeControl/AC_PosControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.cpp b/libraries/AC_AttitudeControl/AC_PosControl.cpp index 555b580266..51627b6427 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.cpp +++ b/libraries/AC_AttitudeControl/AC_PosControl.cpp @@ -591,7 +591,7 @@ void AC_PosControl::run_z_controller() // Calculate Earth Frame Z acceleration z_accel_meas = -(_ahrs.get_accel_ef_blended().z + GRAVITY_MSS) * 100.0f; - // reset target altitude if this controller has just been engaged + // reset target acceleration if this controller has just been engaged if (_flags.reset_accel_to_throttle) { // Reset Filter _accel_error.z = 0;