mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 17:55:28 +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
|
@ -3189,8 +3189,8 @@ void applyWaypointNavigationAndAltitudeHold(void)
|
|||
}
|
||||
|
||||
/* Reset flags */
|
||||
posControl.flags.horizontalPositionDataConsumed = 0;
|
||||
posControl.flags.verticalPositionDataConsumed = 0;
|
||||
posControl.flags.horizontalPositionDataConsumed = false;
|
||||
posControl.flags.verticalPositionDataConsumed = false;
|
||||
|
||||
/* Process controllers */
|
||||
navigationFSMStateFlags_t navStateFlags = navGetStateFlags(posControl.navState);
|
||||
|
@ -3772,7 +3772,7 @@ void navigationInit(void)
|
|||
posControl.flags.estHeadingStatus = EST_NONE;
|
||||
posControl.flags.estAglStatus = EST_NONE;
|
||||
|
||||
posControl.flags.forcedRTHActivated = 0;
|
||||
posControl.flags.forcedRTHActivated = false;
|
||||
posControl.flags.forcedEmergLandingActivated = false;
|
||||
posControl.waypointCount = 0;
|
||||
posControl.activeWaypointIndex = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue