mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
EKF: controlDragFusion() add parenthesis for readability
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user