EKF: controlDragFusion() add parenthesis for readability

This commit is contained in:
Daniel Agar 2020-12-08 11:23:09 -05:00
parent 944b18c63e
commit 688a054bdb

View File

@ -1215,7 +1215,7 @@ void Ekf::controlBetaFusion()
void Ekf::controlDragFusion()
{
if (_params.fusion_mode & MASK_USE_DRAG &&
if ((_params.fusion_mode & MASK_USE_DRAG) &&
!_using_synthetic_position &&
_control_status.flags.in_air &&
!_mag_inhibit_yaw_reset_req) {