Skip to content
Snippets Groups Projects
Commit ecc53488 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Commander: Allow commandline takeoff if already armed

parent 4d36cb84
No related branches found
No related tags found
No related merge requests found
......@@ -417,7 +417,7 @@ int commander_main(int argc, char *argv[])
/* see if we got a home position */
if (status.condition_home_position_valid) {
if (TRANSITION_CHANGED == arm_disarm(true, mavlink_fd_local, "command line")) {
if (TRANSITION_DENIED != arm_disarm(true, mavlink_fd_local, "command line")) {
vehicle_command_s cmd = {};
cmd.target_system = status.system_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment