mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +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()
|
void Ekf::controlDragFusion()
|
||||||
{
|
{
|
||||||
if (_params.fusion_mode & MASK_USE_DRAG &&
|
if ((_params.fusion_mode & MASK_USE_DRAG) &&
|
||||||
!_using_synthetic_position &&
|
!_using_synthetic_position &&
|
||||||
_control_status.flags.in_air &&
|
_control_status.flags.in_air &&
|
||||||
!_mag_inhibit_yaw_reset_req) {
|
!_mag_inhibit_yaw_reset_req) {
|
||||||
|
|||||||
Reference in New Issue
Block a user