Commit 216295e7 authored by lm's avatar lm

Fixed minor bugs introduced in last commit

parent 71369792
...@@ -102,7 +102,7 @@ function setDistanceMode(mode) ...@@ -102,7 +102,7 @@ function setDistanceMode(mode)
function setDraggingAllowed(allowed) function setDraggingAllowed(allowed)
{ {
draggingAllowed = allowed; //draggingAllowed = allowed;
} }
function setNewWaypointPending(pending) function setNewWaypointPending(pending)
......
...@@ -153,6 +153,11 @@ void PxQuadMAV::receiveMessage(LinkInterface* link, mavlink_message_t message) ...@@ -153,6 +153,11 @@ void PxQuadMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
} }
} }
#else
// Let UAS handle the default message set
UAS::receiveMessage(link, message);
Q_UNUSED(link);
Q_UNUSED(message);
#endif #endif
} }
......
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