Commit 8507c30b authored by pixhawk's avatar pixhawk

fixed wrong brackets, now waypoint list clearing works again

parent 1d48bd91
......@@ -870,9 +870,9 @@ void UASWaypointManager::writeWaypoints()
//send the waypoint count to UAS (this starts the send transaction)
sendWaypointCount();
} else if (waypointsEditable.count() == 0) {
sendWaypointClearAll();
}
} else if (waypointsEditable.count() == 0) {
sendWaypointClearAll();
} else {
//we're in another transaction, ignore command
qDebug() << "UASWaypointManager::sendWaypoints() doing something else ignoring command";
......
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