mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 20:24:08 +08:00
EKF: controlDragFusion() add parenthesis for readability
This commit is contained in:
parent
944b18c63e
commit
688a054bdb
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user