mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
GCS_MAVLink: Support AFS changes
This commit is contained in:
parent
dab13f0e34
commit
97fce557f5
@ -1680,7 +1680,7 @@ MAV_RESULT GCS_MAVLINK::handle_flight_termination(const mavlink_command_long_t &
|
|||||||
|
|
||||||
bool should_terminate = packet.param1 > 0.5f;
|
bool should_terminate = packet.param1 > 0.5f;
|
||||||
|
|
||||||
if (failsafe->gcs_terminate(should_terminate)) {
|
if (failsafe->gcs_terminate(should_terminate, "GCS request")) {
|
||||||
return MAV_RESULT_ACCEPTED;
|
return MAV_RESULT_ACCEPTED;
|
||||||
}
|
}
|
||||||
return MAV_RESULT_FAILED;
|
return MAV_RESULT_FAILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user