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

FlightTAsk AutoMapper: Adapt to new message

parent be7416c8
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 = _deploy_gear ? landing_gear_s::GEAR_DOWN : landing_gear_s::GEAR_UP;
_gear.landing_gear = _mission_gear;
}
// 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