mirror of https://github.com/ArduPilot/ardupilot
AP_Landing: move to airspeed_estimate with pointer
This commit is contained in:
parent
84fe5f4e78
commit
d16de83e3f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue