mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 16:56:25 +08:00
commander COMPONENT_ARM_DISARM remove useless arm error
This commit is contained in:
@@ -832,7 +832,6 @@ Commander::handle_command(vehicle_status_s *status_local,
|
||||
transition_result_t arming_res = arm_disarm(cmd_arms, &mavlink_log_pub, "arm/disarm component command");
|
||||
|
||||
if (arming_res == TRANSITION_DENIED) {
|
||||
mavlink_log_critical(&mavlink_log_pub, "Arming not possible in this state");
|
||||
cmd_result = vehicle_command_s::VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user