mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 16:56:25 +08:00
commander run preflight immediately (#11018)
- partially addresses #11017
This commit is contained in:
@@ -1428,6 +1428,9 @@ Commander::run()
|
||||
|
||||
arm_auth_init(&mavlink_log_pub, &status.system_id);
|
||||
|
||||
// run preflight immediately to find all relevant parameters, but don't report
|
||||
preflight_check(false);
|
||||
|
||||
while (!should_exit()) {
|
||||
|
||||
transition_result_t arming_ret = TRANSITION_NOT_CHANGED;
|
||||
|
||||
Reference in New Issue
Block a user