diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-05-20 21:46:42 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-05-20 21:46:42 +0200 |
commit | fb801b6faecd77fe2aac54d3389cacf73993ccc4 (patch) | |
tree | 67819ca74318b79410ca01666336224f55d6c01c /src/modules/mavlink | |
parent | 7c001bb0cbbafc9e5babf95e619d0df60db524e9 (diff) | |
download | px4-firmware-fb801b6faecd77fe2aac54d3389cacf73993ccc4.tar.gz px4-firmware-fb801b6faecd77fe2aac54d3389cacf73993ccc4.tar.bz2 px4-firmware-fb801b6faecd77fe2aac54d3389cacf73993ccc4.zip |
mavlink: minor fix
Diffstat (limited to 'src/modules/mavlink')
-rw-r--r-- | src/modules/mavlink/mavlink_messages.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index 2837c16b8..933478f56 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -140,7 +140,6 @@ void get_mavlink_mode_state(struct vehicle_status_s *status, struct position_set } else if (status->main_state == MAIN_STATE_ACRO) { *mavlink_base_mode |= MAV_MODE_FLAG_MANUAL_INPUT_ENABLED; custom_mode.main_mode = PX4_CUSTOM_MAIN_MODE_ACRO; - custom_mode.sub_mode = PX4_CUSTOM_SUB_MODE_AUTO_READY; } } else { |