diff --git a/src/uas/UASWaypointManager.cc b/src/uas/UASWaypointManager.cc index d61f9de786610b25e38717d9a6966b3202a37649..fc48a3bbdee1a522673a6686b49080c9de05edc8 100644 --- a/src/uas/UASWaypointManager.cc +++ b/src/uas/UASWaypointManager.cc @@ -1071,12 +1071,12 @@ float UASWaypointManager::getAcceptanceRadiusRecommendation() { if (uas->isRotaryWing()) { - return UASInterface::WAYPOINT_RADIUS_DEFAULT_ROTARY_WING; - } - else if (uas->isFixedWing()) - { - return UASInterface::WAYPOINT_RADIUS_DEFAULT_FIXED_WING; - } + return UASInterface::WAYPOINT_RADIUS_DEFAULT_ROTARY_WING; + } + else if (uas->isFixedWing()) + { + return UASInterface::WAYPOINT_RADIUS_DEFAULT_FIXED_WING; + } } return 10.0f;