AP_AHRS: fixed a build warning

This commit is contained in:
Andrew Tridgell 2013-11-23 21:44:56 +11:00
parent 457183b6f5
commit b248cc0868

View File

@ -118,9 +118,9 @@ AP_AHRS_DCM::reset(bool recover_eulers)
} }
// reset the current attitude, used by HIL // 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);
} }
/* /*