mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 22:35:19 +03:00
[NAV] Allow setting waypoint_safe_distance=0 to disable the check
This commit is contained in:
parent
c7bc50b30d
commit
8aa47b7d99
1 changed files with 1 additions and 1 deletions
|
@ -3045,7 +3045,7 @@ navArmingBlocker_e navigationIsBlockingArming(bool *usedBypass)
|
|||
}
|
||||
|
||||
// Don't allow arming if first waypoint is farther than configured safe distance
|
||||
if (posControl.waypointCount > 0) {
|
||||
if ((posControl.waypointCount > 0) && (navConfig()->general.waypoint_safe_distance != 0)) {
|
||||
fpVector3_t startingWaypointPos;
|
||||
mapWaypointToLocalPosition(&startingWaypointPos, &posControl.waypointList[0]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue