FlightTask AutoMapper: Use deploy gear information

This commit is contained in:
Simone Guscetti authored and Dennis Mannhart committed 2018-12-10 16:17:23 +01:00
1 parent 66f85ff9ae
commit 1412e0494c
1 file changed
+1 -1
@@ -89,7 +89,7 @@ bool FlightTaskAutoMapper::update()
// during mission and reposition, raise the landing gears but only
// if altitude is high enough
if (_highEnoughForLandingGear()) {
_gear.landing_gear = landing_gear_s::GEAR_UP;
_gear.landing_gear = _deploy_gear ? landing_gear_s::GEAR_DOWN : landing_gear_s::GEAR_UP;
}
// update previous type