FlightTAsk AutoMapper: Adapt to new message

This commit is contained in:
Simone Guscetti 2018-11-06 15:22:42 +01:00 committed by Dennis Mannhart
parent be7416c823
commit f4fc0cd291

View File

@ -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