aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-06-12 12:30:42 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-06-12 12:30:42 +0200
commiteb76d116cc67c6354c29fa41e49b4cf9df1a472d (patch)
treecac2f06b21498be1f292772daf906ef1526719b6 /src/modules/commander
parent1028bd932cfd08366dd0dcb8c189ebcf88cce53a (diff)
downloadpx4-firmware-eb76d116cc67c6354c29fa41e49b4cf9df1a472d.tar.gz
px4-firmware-eb76d116cc67c6354c29fa41e49b4cf9df1a472d.tar.bz2
px4-firmware-eb76d116cc67c6354c29fa41e49b4cf9df1a472d.zip
Minor state machine improvements and fixes for IO safety / in-air restart handling
Diffstat (limited to 'src/modules/commander')
-rw-r--r--src/modules/commander/state_machine_helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/commander/state_machine_helper.c b/src/modules/commander/state_machine_helper.c
index 0a6cfd0b5..f42caad57 100644
--- a/src/modules/commander/state_machine_helper.c
+++ b/src/modules/commander/state_machine_helper.c
@@ -545,6 +545,9 @@ void update_state_machine_arm(int status_pub, struct vehicle_status_s *current_s
/* play warning tune */
tune_error();
+
+ /* abort */
+ return;
}
}