mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
Include trusted alt for healthy position
This commit is contained in:
parent
49008f47c9
commit
9081429453
1 changed files with 1 additions and 1 deletions
|
@ -4437,7 +4437,7 @@ uint32_t distanceToFirstWP(void)
|
|||
|
||||
bool navigationPositionEstimateIsHealthy(void)
|
||||
{
|
||||
return (posControl.flags.estPosStatus >= EST_USABLE) && STATE(GPS_FIX_HOME);
|
||||
return posControl.flags.estPosStatus >= EST_USABLE && posControl.flags.estAltStatus >= EST_USABLE && STATE(GPS_FIX_HOME);
|
||||
}
|
||||
|
||||
navArmingBlocker_e navigationIsBlockingArming(bool *usedBypass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue