diff --git a/libraries/AP_DCM/AP_DCM.cpp b/libraries/AP_DCM/AP_DCM.cpp index acf62f130a..11f4d0c1ae 100644 --- a/libraries/AP_DCM/AP_DCM.cpp +++ b/libraries/AP_DCM/AP_DCM.cpp @@ -267,7 +267,7 @@ AP_DCM::drift_correction(void) // Ryx = sin psi err, Ryy = cos psi err, Ryz = 0 // Rzx = Rzy = 0, Rzz = 1 rot_mat.a.x = cos_psi_err; - rot_mat.a.y = - sin_psi_err; + rot_mat.a.y = -sin_psi_err; rot_mat.b.x = sin_psi_err; rot_mat.b.y = cos_psi_err; rot_mat.a.z = 0;