mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
commander: Notify negative on manual arming fails
This commit is contained in:
parent
77af7a5beb
commit
bbdf2bc07a
@ -1342,6 +1342,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
} else if (arming_ret == TRANSITION_DENIED) {
|
||||
/* DENIED here indicates bug in the commander */
|
||||
mavlink_log_critical(mavlink_fd, "ERROR: arming state transition denied");
|
||||
tune_negative(true);
|
||||
}
|
||||
|
||||
/* evaluate the main state machine according to mode switches */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user