mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FlightTAsk AutoMapper: Adapt to new message
This commit is contained in:
parent
be7416c823
commit
f4fc0cd291
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user