Skip to content
Snippets Groups Projects
Commit 1412e049 authored by Simone Guscetti's avatar Simone Guscetti Committed by Dennis Mannhart
Browse files

FlightTask AutoMapper: Use deploy gear information

parent 66f85ff9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment