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:28:22 +11:00 committed by Andrew Tridgell
parent 47ae0f35f6
commit e8037f94ad
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ bool AP_AHRS_NavEKF::get_vert_pos_rate(float &velocity)
return true;
case EKF_TYPE2:
EKF2.getPosDownDerivative(velocity);
velocity = EKF2.getPosDownDerivative();
return true;
}
}