Browse Source

fixed debug output and removed tab indents

QGC4.4
TobiasSimon 13 years ago
parent
commit
42e3368f8c
  1. 4
      src/comm/MAVLinkProtocol.cc

4
src/comm/MAVLinkProtocol.cc

@ -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
lostMessages = 0;
}
else
{
qDebug() << QString("Lost %1 messages: expected sequence ID %2 but received %3.").arg(lostMessages).arg(expectedIndex).arg(message.seq);
}
totalLossCounter += lostMessages;
currLossCounter += lostMessages;
}

Loading…
Cancel
Save