GCS_MAVLink: log disarm method
This commit is contained in:
parent
1e82ae4676
commit
f8f4ed7ee0
@ -3849,7 +3849,7 @@ MAV_RESULT GCS_MAVLINK::handle_command_long_packet(const mavlink_command_long_t
|
|||||||
!is_equal(packet.param2, magic_force_disarm_value)) {
|
!is_equal(packet.param2, magic_force_disarm_value)) {
|
||||||
return MAV_RESULT_FAILED;
|
return MAV_RESULT_FAILED;
|
||||||
}
|
}
|
||||||
if (AP::arming().disarm()) {
|
if (AP::arming().disarm(AP_Arming::Method::MAVLINK)) {
|
||||||
return MAV_RESULT_ACCEPTED;
|
return MAV_RESULT_ACCEPTED;
|
||||||
}
|
}
|
||||||
return MAV_RESULT_FAILED;
|
return MAV_RESULT_FAILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user