From 41a9ac0acba99a1708d6617030a8cee6ec2f1de1 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 23 Mar 2018 11:44:12 +0100 Subject: [PATCH] vtol_att_control: initialise VT_FW_MOT_OFFID correcly for standard vtol Signed-off-by: Roman --- src/modules/vtol_att_control/vtol_att_control_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 2a39d45a9d..f6e2c230a4 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -512,7 +512,7 @@ VtolAttitudeControl::parameters_update() // did not use the interface of the VtolType class to disable motors we will have users flying around with a wrong // parameter value. Therefore, explicitly set it here such that all motors will be disabled as expected. if (_params.vtol_type == vtol_type::STANDARD) { - _params.fw_motors_off = 0xff; + _params.fw_motors_off = 12345678; } // make sure parameters are feasible, require at least 1 m/s difference between transition and blend airspeed