mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
Merge pull request #9709 from JulioCesarMatias/RemoveGPSGlitchDetection
Remove GPS glitch detection
This commit is contained in:
commit
78412ba47b
3 changed files with 1 additions and 77 deletions
|
@ -3581,9 +3581,7 @@ void applyWaypointNavigationAndAltitudeHold(void)
|
|||
if (posControl.flags.estAglStatus == EST_TRUSTED) navFlags |= (1 << 1);
|
||||
if (posControl.flags.estPosStatus == EST_TRUSTED) navFlags |= (1 << 2);
|
||||
if (posControl.flags.isTerrainFollowEnabled) navFlags |= (1 << 3);
|
||||
#if defined(NAV_GPS_GLITCH_DETECTION)
|
||||
if (isGPSGlitchDetected()) navFlags |= (1 << 4);
|
||||
#endif
|
||||
// naFlags |= (1 << 4); // Old NAV GPS Glitch Detection flag
|
||||
if (posControl.flags.estHeadingStatus == EST_TRUSTED) navFlags |= (1 << 5);
|
||||
|
||||
// Reset all navigation requests - NAV controllers will set them if necessary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue