mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_AHRS: Make EKF2 PosDownDerivative interface follow coding conventions
Updates arising from peer review.
This commit is contained in:
parent
840f307d58
commit
ae830b44c4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user