Plane: adjust target_airspeed with and without airspeed sensor (pitot)

This commit is contained in:
Tom Pittenger 2016-05-02 17:52:07 -07:00
parent 2a0476483b
commit 25dfb583d5

View File

@ -99,7 +99,7 @@ void Plane::calc_airspeed_errors()
}
// Landing airspeed target
if (control_mode == AUTO && ahrs.airspeed_sensor_enabled()) {
if (control_mode == AUTO) {
float land_airspeed = SpdHgt_Controller->get_land_airspeed();
switch (flight_stage) {
case AP_SpdHgtControl::FLIGHT_LAND_APPROACH: