From b248cc0868aa5699f7e3738699c749ab4d248d61 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 23 Nov 2013 21:44:56 +1100 Subject: [PATCH] AP_AHRS: fixed a build warning --- libraries/AP_AHRS/AP_AHRS_DCM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS_DCM.cpp b/libraries/AP_AHRS/AP_AHRS_DCM.cpp index a7b09921d2..edfd708098 100644 --- a/libraries/AP_AHRS/AP_AHRS_DCM.cpp +++ b/libraries/AP_AHRS/AP_AHRS_DCM.cpp @@ -118,9 +118,9 @@ AP_AHRS_DCM::reset(bool recover_eulers) } // reset the current attitude, used by HIL -void AP_AHRS_DCM::reset_attitude(const float &roll, const float &pitch, const float &yaw) +void AP_AHRS_DCM::reset_attitude(const float &_roll, const float &_pitch, const float &_yaw) { - _dcm_matrix.from_euler(roll, pitch, yaw); + _dcm_matrix.from_euler(_roll, _pitch, _yaw); } /*