mirror of https://github.com/ArduPilot/ardupilot
AP_AHRS: Make EKF2 PosDownDerivative interface follow coding conventions
Updates arising from peer review
This commit is contained in:
parent
47ae0f35f6
commit
e8037f94ad
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue