mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 11:03:33 +08:00
Reject arming timeout
This commit is contained in:
@@ -2332,6 +2332,7 @@ int commander_thread_main(int argc, char *argv[])
|
|||||||
if (arming_ret == TRANSITION_CHANGED) {
|
if (arming_ret == TRANSITION_CHANGED) {
|
||||||
arming_state_changed = true;
|
arming_state_changed = true;
|
||||||
} else {
|
} else {
|
||||||
|
usleep(100000);
|
||||||
print_reject_arm("NOT ARMING: Configuration error");
|
print_reject_arm("NOT ARMING: Configuration error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user