mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 22:35:19 +03:00
Merge pull request #7580 from JulioCesarMatias/FixBoolFlags
Fix Bool Flags Value
This commit is contained in:
commit
23973cb1a2
4 changed files with 10 additions and 10 deletions
|
@ -188,7 +188,7 @@ void applyFixedWingAltitudeAndThrottleController(timeUs_t currentTimeUs)
|
|||
}
|
||||
|
||||
// Indicate that information is no longer usable
|
||||
posControl.flags.verticalPositionDataConsumed = 1;
|
||||
posControl.flags.verticalPositionDataConsumed = true;
|
||||
}
|
||||
|
||||
isPitchAdjustmentValid = true;
|
||||
|
@ -440,7 +440,7 @@ void applyFixedWingPositionController(timeUs_t currentTimeUs)
|
|||
}
|
||||
|
||||
// Indicate that information is no longer usable
|
||||
posControl.flags.horizontalPositionDataConsumed = 1;
|
||||
posControl.flags.horizontalPositionDataConsumed = true;
|
||||
}
|
||||
|
||||
isRollAdjustmentValid = true;
|
||||
|
@ -480,7 +480,7 @@ int16_t applyFixedWingMinSpeedController(timeUs_t currentTimeUs)
|
|||
}
|
||||
|
||||
// Indicate that information is no longer usable
|
||||
posControl.flags.horizontalPositionDataConsumed = 1;
|
||||
posControl.flags.horizontalPositionDataConsumed = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue