Browse Source

GCS_MAVLink: Support AFS changes

mission-4.1.18
Michael du Breuil 7 years ago committed by Francisco Ferreira
parent
commit
97fce557f5
  1. 2
      libraries/GCS_MAVLink/GCS_Common.cpp

2
libraries/GCS_MAVLink/GCS_Common.cpp

@ -1680,7 +1680,7 @@ MAV_RESULT GCS_MAVLINK::handle_flight_termination(const mavlink_command_long_t & @@ -1680,7 +1680,7 @@ MAV_RESULT GCS_MAVLINK::handle_flight_termination(const mavlink_command_long_t &
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_FAILED;

Loading…
Cancel
Save