diff options
author | Julian Oes <julian@oes.ch> | 2013-06-15 19:41:54 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-06-15 19:41:54 +0200 |
commit | 9f5565de3221718ba12800a54ca1a0c06b7491ef (patch) | |
tree | 7cda3831fabd567a97b140207edef793a24e9250 /src/modules/mavlink_onboard/util.h | |
parent | e556649f2ff6922a7a3b7751b68cdedd0d6254aa (diff) | |
download | px4-firmware-9f5565de3221718ba12800a54ca1a0c06b7491ef.tar.gz px4-firmware-9f5565de3221718ba12800a54ca1a0c06b7491ef.tar.bz2 px4-firmware-9f5565de3221718ba12800a54ca1a0c06b7491ef.zip |
Controllers should not access state machine anymore but access the vehicle_control_mode flags
Diffstat (limited to 'src/modules/mavlink_onboard/util.h')
-rw-r--r-- | src/modules/mavlink_onboard/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/mavlink_onboard/util.h b/src/modules/mavlink_onboard/util.h index 17c3ba820..c6a2e52bf 100644 --- a/src/modules/mavlink_onboard/util.h +++ b/src/modules/mavlink_onboard/util.h @@ -50,5 +50,6 @@ extern volatile bool thread_should_exit; /** * Translate the custom state into standard mavlink modes and state. */ -extern void get_mavlink_mode_and_state(const struct vehicle_status_s *v_status, const struct actuator_safety_s *safety, +extern void +get_mavlink_mode_and_state(const struct vehicle_control_mode_s *control_mode, const struct actuator_safety_s *safety, uint8_t *mavlink_state, uint8_t *mavlink_mode); |