commander run preflight immediately (#11018)

- partially addresses #11017
This commit is contained in:
Daniel Agar
2018-12-12 09:24:50 -05:00
committed by GitHub
parent c1d50d35d3
commit f851978101
+3
View File
@@ -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;