diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-26 12:08:25 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-26 12:09:43 +0200 |
commit | 43c3559763841abacf5e74e15a6172026071088b (patch) | |
tree | 001a174aa9edd72af59d9a43baaa439bf33f8c46 /src | |
parent | 3e0c318311a05c323f68177d01f461066b06b76d (diff) | |
download | px4-firmware-43c3559763841abacf5e74e15a6172026071088b.tar.gz px4-firmware-43c3559763841abacf5e74e15a6172026071088b.tar.bz2 px4-firmware-43c3559763841abacf5e74e15a6172026071088b.zip |
commander: Make mavlink_fd in arming command non-optional
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/state_machine_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.h b/src/modules/commander/state_machine_helper.h index 0ddd4f05a..abb917873 100644 --- a/src/modules/commander/state_machine_helper.h +++ b/src/modules/commander/state_machine_helper.h @@ -57,7 +57,7 @@ typedef enum { } transition_result_t; transition_result_t arming_state_transition(struct vehicle_status_s *current_state, const struct safety_s *safety, - arming_state_t new_arming_state, struct actuator_armed_s *armed, const int mavlink_fd = 0); + arming_state_t new_arming_state, struct actuator_armed_s *armed, const int mavlink_fd); bool is_safe(const struct vehicle_status_s *current_state, const struct safety_s *safety, const struct actuator_armed_s *armed); |