mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
FlightTAsk AutoMapper: Adapt to new message
This commit is contained in:
committed by
Dennis Mannhart
parent
be7416c823
commit
f4fc0cd291
@@ -89,7 +89,7 @@ bool FlightTaskAutoMapper::update()
|
|||||||
// during mission and reposition, raise the landing gears but only
|
// during mission and reposition, raise the landing gears but only
|
||||||
// if altitude is high enough
|
// if altitude is high enough
|
||||||
if (_highEnoughForLandingGear()) {
|
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
|
// update previous type
|
||||||
|
|||||||
Reference in New Issue
Block a user