aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander/state_machine_helper.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-11 14:51:13 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-11 14:51:13 +0200
commitb97c867420f477f2c3a7dbc073975f5d872194cb (patch)
treec7b982ebd48430d5b1a32e105353179c5d70a437 /src/modules/commander/state_machine_helper.h
parentc93936c19baf2432512dd2f548f1ec4c6c1c7704 (diff)
downloadpx4-firmware-b97c867420f477f2c3a7dbc073975f5d872194cb.tar.gz
px4-firmware-b97c867420f477f2c3a7dbc073975f5d872194cb.tar.bz2
px4-firmware-b97c867420f477f2c3a7dbc073975f5d872194cb.zip
Add a check command and fix error reporting
Diffstat (limited to 'src/modules/commander/state_machine_helper.h')
-rw-r--r--src/modules/commander/state_machine_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/commander/state_machine_helper.h b/src/modules/commander/state_machine_helper.h
index 11072403e..ddc5bf154 100644
--- a/src/modules/commander/state_machine_helper.h
+++ b/src/modules/commander/state_machine_helper.h
@@ -67,4 +67,6 @@ transition_result_t hil_state_transition(hil_state_t new_state, int status_pub,
bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_enabled, const bool mission_finished);
+int prearm_check(const struct vehicle_status_s *status, const int mavlink_fd);
+
#endif /* STATE_MACHINE_HELPER_H_ */