AP_AHRS: Make EKF2 PosDownDerivative interface follow coding conventions

Updates arising from peer review.
This commit is contained in:
Paul Riseborough 2015-10-15 16:33:19 +11:00 committed by Andrew Tridgell
parent 840f307d58
commit ae830b44c4
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ bool AP_AHRS_NavEKF::get_vert_pos_rate(float &velocity)
case EKF_TYPE1:
default:
EKF1.getPosDownDerivative(velocity);
velocity = EKF1.getPosDownDerivative();
return true;
case EKF_TYPE2: