AP_Landing: move to airspeed_estimate with pointer

This commit is contained in:
Peter Hall 2020-01-07 00:46:23 +00:00 committed by WickedShell
parent 84fe5f4e78
commit d16de83e3f
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ bool AP_Landing_Deepstall::override_servos(void)
// use the current airspeed to dictate the travel limits
float airspeed;
if (!landing.ahrs.airspeed_estimate(&airspeed)) {
if (!landing.ahrs.airspeed_estimate(airspeed)) {
airspeed = 0; // safely forces control to the deepstall steering since we don't have an estimate
}