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

Build fix

parent c67c91a7
......@@ -804,7 +804,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
if (!globalEstimatorActive && (vel < 1000000) && !isnan(vel) && !isinf(vel))
{
emit speedChanged(this, (double)pos.v, 0.0, 0.0, time);
emit speedChanged(this, vel, 0.0, 0.0, time);
}
else
{
......
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