diff --git a/src/modules/vtol_att_control/standard.cpp b/src/modules/vtol_att_control/standard.cpp index ad0ddfbcfc71..32fd427c50d1 100644 --- a/src/modules/vtol_att_control/standard.cpp +++ b/src/modules/vtol_att_control/standard.cpp @@ -392,7 +392,7 @@ void Standard::update_mc_state() * _v_att_sp->thrust * _params_standard.forward_thrust_scale; // return the vehicle to level position - float pitch_new = 0; + float pitch_new = 0.0f; // create corrected desired body z axis in heading frame matrix::Dcmf R_tmp = matrix::Eulerf(roll_new, pitch_new, 0.0f);