1
0
Fork 0
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:
Paweł Spychalski 2024-02-21 10:09:46 +01:00 committed by GitHub
commit 78412ba47b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 77 deletions

View file

@ -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