Commit 42e3368f authored by TobiasSimon's avatar TobiasSimon

fixed debug output and removed tab indents

parent 9405b6f1
...@@ -373,8 +373,10 @@ void MAVLinkProtocol::receiveBytes(LinkInterface* link, QByteArray b) ...@@ -373,8 +373,10 @@ void MAVLinkProtocol::receiveBytes(LinkInterface* link, QByteArray b)
// Usually, this happens in the case of an out-of order packet // Usually, this happens in the case of an out-of order packet
lostMessages = 0; lostMessages = 0;
} }
else
{
qDebug() << QString("Lost %1 messages: expected sequence ID %2 but received %3.").arg(lostMessages).arg(expectedIndex).arg(message.seq); qDebug() << QString("Lost %1 messages: expected sequence ID %2 but received %3.").arg(lostMessages).arg(expectedIndex).arg(message.seq);
}
totalLossCounter += lostMessages; totalLossCounter += lostMessages;
currLossCounter += lostMessages; currLossCounter += lostMessages;
} }
......
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