DCM: fixed airspeed bug
we incorrectly went via the wind estimate when we had a working airspeed sensor
This commit is contained in:
parent
63a48f76e2
commit
610069e729
@ -741,7 +741,7 @@ bool AP_AHRS_DCM::airspeed_estimate(float *airspeed_ret)
|
||||
bool ret = false;
|
||||
if (_airspeed && _airspeed->use()) {
|
||||
*airspeed_ret = _airspeed->get_airspeed();
|
||||
ret = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
// estimate it via GPS speed and wind
|
||||
|
Loading…
Reference in New Issue
Block a user