mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
Fixed arming bug
This commit is contained in:
@@ -1113,7 +1113,7 @@ int commander_main(int argc, char *argv[])
|
||||
current_status.preflight_gyro_calibration == false &&
|
||||
current_status.preflight_mag_calibration == false) {
|
||||
/* All ok, no calibration going on, go to standby */
|
||||
do_state_update(stat_pub, ¤t_status, SYSTEM_STATE_STANDBY, mavlink_fd);
|
||||
do_state_update(stat_pub, ¤t_status, mavlink_fd, SYSTEM_STATE_STANDBY);
|
||||
}
|
||||
|
||||
/* publish at least with 1 Hz */
|
||||
|
||||
Reference in New Issue
Block a user