mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
Plane: pass in max airspeed via function call instead of using aparm
This commit is contained in:
parent
ae46c38ff7
commit
f85fc7c1dc
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user