From e4ea7262fde98a21634b61c892414be1bfb97e0b Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 7 Mar 2018 11:22:12 +0100 Subject: [PATCH] tailsitter.cpp: small cosmetic fix Signed-off-by: Roman --- src/modules/vtol_att_control/tailsitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/tailsitter.cpp b/src/modules/vtol_att_control/tailsitter.cpp index 7c6d332e41..3aa33c39fb 100644 --- a/src/modules/vtol_att_control/tailsitter.cpp +++ b/src/modules/vtol_att_control/tailsitter.cpp @@ -227,7 +227,7 @@ void Tailsitter::update_transition_state() _mc_yaw_weight = 0.0f; // smoothly move control weight to MC - _mc_roll_weight = _mc_pitch_weight = 1.0f * time_since_trans_start / _params->back_trans_duration; + _mc_roll_weight = _mc_pitch_weight = time_since_trans_start / _params->back_trans_duration; }