diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-09-02 11:20:36 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-09-02 11:20:36 +0200 |
commit | e9373752d1a651cc65555781b3c6c0ab6134ccc5 (patch) | |
tree | 321719ac4800a25ca71badb155b9e796b86f1b78 /apps/commander/state_machine_helper.c | |
parent | cf62c892f9a8016ee238be269ee6c4b674928e7f (diff) | |
download | px4-firmware-e9373752d1a651cc65555781b3c6c0ab6134ccc5.tar.gz px4-firmware-e9373752d1a651cc65555781b3c6c0ab6134ccc5.tar.bz2 px4-firmware-e9373752d1a651cc65555781b3c6c0ab6134ccc5.zip |
Fixed arming state setting / publication
Diffstat (limited to 'apps/commander/state_machine_helper.c')
-rw-r--r-- | apps/commander/state_machine_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/commander/state_machine_helper.c b/apps/commander/state_machine_helper.c index 462406648..7db920f91 100644 --- a/apps/commander/state_machine_helper.c +++ b/apps/commander/state_machine_helper.c @@ -121,7 +121,7 @@ int do_state_update(int status_pub, struct vehicle_status_s *current_status, con if (current_status->state_machine == SYSTEM_STATE_STANDBY || current_status->state_machine == SYSTEM_STATE_PREFLIGHT) { /* set system flags according to state */ - current_status->flag_system_armed = true; + current_status->flag_system_armed = false; mavlink_log_critical(mavlink_fd, "[commander] Switched to PREFLIGHT state"); } else { invalid_state = true; |