From 77ff169757ff064e67976b148477c1ce4327286f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 21 Apr 2020 21:21:01 +0900 Subject: [PATCH] Copter: minor comment fix --- ArduCopter/ekf_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ekf_check.cpp b/ArduCopter/ekf_check.cpp index 9c4c7e6311..2c32d6fb9a 100644 --- a/ArduCopter/ekf_check.cpp +++ b/ArduCopter/ekf_check.cpp @@ -205,7 +205,7 @@ void Copter::check_ekf_reset() } #if AP_AHRS_NAVEKF_AVAILABLE && (HAL_NAVEKF2_AVAILABLE || HAL_NAVEKF3_AVAILABLE) - // check for change in primary EKF (log only, AC_WPNav handles position target adjustment) + // check for change in primary EKF, reset attitude target and log. AC_PosControl handles position target adjustment if ((ahrs.get_primary_core_index() != ekf_primary_core) && (ahrs.get_primary_core_index() != -1)) { attitude_control->inertial_frame_reset(); ekf_primary_core = ahrs.get_primary_core_index();