GCS_MAVLink: Support AFS changes

This commit is contained in:
Michael du Breuil 2017-11-09 15:33:28 -07:00 committed by Francisco Ferreira
parent dab13f0e34
commit 97fce557f5

View File

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