aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_control/fw_att_control_main.cpp
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-25 23:24:12 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-25 23:24:12 +0100
commitebc7cb03b726ebfb864e770a82b92bb67b6bfd4c (patch)
tree52e78eeb79037b29acd694208c257a76dd859124 /src/modules/fw_att_control/fw_att_control_main.cpp
parente8a1b620e9a5e69db0523d70c3a0833754aa21b2 (diff)
downloadpx4-firmware-ebc7cb03b726ebfb864e770a82b92bb67b6bfd4c.tar.gz
px4-firmware-ebc7cb03b726ebfb864e770a82b92bb67b6bfd4c.tar.bz2
px4-firmware-ebc7cb03b726ebfb864e770a82b92bb67b6bfd4c.zip
«flighttermination state» replaced by more general «failsafe state»
Diffstat (limited to 'src/modules/fw_att_control/fw_att_control_main.cpp')
-rw-r--r--src/modules/fw_att_control/fw_att_control_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp
index dc2196de6..17b1028f9 100644
--- a/src/modules/fw_att_control/fw_att_control_main.cpp
+++ b/src/modules/fw_att_control/fw_att_control_main.cpp
@@ -619,7 +619,7 @@ FixedwingAttitudeControl::task_main()
}
/* Simple handling of failsafe: deploy parachute if failsafe is on */
- if (_vcontrol_mode.flag_control_flighttermination_enabled) {
+ if (_vcontrol_mode.flag_control_termination_enabled) {
_actuators_airframe.control[1] = 1.0f;
// warnx("_actuators_airframe.control[1] = 1.0f;");
} else {