Commit 8fe1a6ae authored by Lorenz Meier's avatar Lorenz Meier

Fixed typo / swap

parent d32650bf
...@@ -272,11 +272,11 @@ void WaypointList::addEditable(bool onCurrentPosition) ...@@ -272,11 +272,11 @@ void WaypointList::addEditable(bool onCurrentPosition)
if (uas) if (uas)
{ {
if (uas->isRotaryWing()) { if (uas->isRotaryWing()) {
wp->setAcceptanceRadius(UASInterface::WAYPOINT_RADIUS_DEFAULT_FIXED_WING); wp->setAcceptanceRadius(UASInterface::WAYPOINT_RADIUS_DEFAULT_ROTARY_WING);
} }
else if (uas->isFixedWing()) else if (uas->isFixedWing())
{ {
wp->setAcceptanceRadius(UASInterface::WAYPOINT_RADIUS_DEFAULT_ROTARY_WING); wp->setAcceptanceRadius(UASInterface::WAYPOINT_RADIUS_DEFAULT_FIXED_WING);
} }
} }
// wp->blockSignals(true); // wp->blockSignals(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment