Plane: pass in max airspeed via function call instead of using aparm

This commit is contained in:
Tom Pittenger 2016-08-07 20:28:35 -07:00
parent ae46c38ff7
commit f85fc7c1dc

View File

@ -413,7 +413,7 @@ void Plane::airspeed_ratio_update(void)
return;
}
const Vector3f &vg = gps.velocity();
airspeed.update_calibration(vg);
airspeed.update_calibration(vg, aparm.airspeed_max);
gcs_send_airspeed_calibration(vg);
}