DCM: fixed airspeed bug

we incorrectly went via the wind estimate when we had a working airspeed sensor
This commit is contained in:
jschall 2013-04-23 08:57:16 +10:00 committed by Andrew Tridgell
parent 63a48f76e2
commit 610069e729

View File

@ -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